mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
Merge remote-tracking branch 'origin/main' into w2p-90978_Improve-initial-page-load_PR
This commit is contained in:
@@ -8,9 +8,6 @@ const zlib = require('zlib');
|
||||
|
||||
module.exports = Object.assign({}, commonExports, {
|
||||
target: 'web',
|
||||
node: {
|
||||
module: 'empty'
|
||||
},
|
||||
plugins: [
|
||||
...commonExports.plugins,
|
||||
new CompressionPlugin({
|
||||
@@ -34,8 +31,9 @@ module.exports = Object.assign({}, commonExports, {
|
||||
}),
|
||||
],
|
||||
devServer: {
|
||||
before(app, server) {
|
||||
setupMiddlewares(middlewares, server) {
|
||||
buildAppConfig(join(process.cwd(), 'src/assets/config.json'));
|
||||
return middlewares;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user