mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
14 lines
335 B
TypeScript
14 lines
335 B
TypeScript
import { join } from 'path';
|
|
|
|
import { buildAppConfig } from '../src/config/config.server';
|
|
import { commonExports } from './webpack.common';
|
|
|
|
module.exports = Object.assign({}, commonExports, {
|
|
target: 'web',
|
|
devServer: {
|
|
before(app, server) {
|
|
buildAppConfig(join(process.cwd(), 'src/assets/config.json'));
|
|
}
|
|
}
|
|
});
|