Files
dspace-angular/webpack/webpack.browser.ts
2022-04-08 17:57:16 +02:00

15 lines
379 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: {
setupMiddlewares(middlewares, server) {
buildAppConfig(join(process.cwd(), 'src/assets/config.json'));
return middlewares;
}
}
});