fix: serve public/assets with webpack-dev-server
This commit is contained in:
@@ -11,6 +11,10 @@ module.exports = (_env, argv) => {
|
||||
'/extensions': {
|
||||
target: `http://localhost:${port}`,
|
||||
pathRewrite: { '^/extensions': '/public/extensions' }
|
||||
},
|
||||
'/assets': {
|
||||
target: `http://localhost:${port}`,
|
||||
pathRewrite: { '^/assets': '/public/assets' }
|
||||
}
|
||||
},
|
||||
port,
|
||||
|
||||
Reference in New Issue
Block a user