mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
87968: Update devServer configuration
This commit is contained in:
@@ -6,8 +6,9 @@ import { commonExports } from './webpack.common';
|
|||||||
module.exports = Object.assign({}, commonExports, {
|
module.exports = Object.assign({}, commonExports, {
|
||||||
target: 'web',
|
target: 'web',
|
||||||
devServer: {
|
devServer: {
|
||||||
before(app, server) {
|
setupMiddlewares(middlewares, server) {
|
||||||
buildAppConfig(join(process.cwd(), 'src/assets/config.json'));
|
buildAppConfig(join(process.cwd(), 'src/assets/config.json'));
|
||||||
|
return middlewares;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user