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