2021-07-21 11:32:27 +02:00
|
|
|
const AngularCompilerPlugin = require('@ngtools/webpack').AngularCompilerPlugin;
|
|
|
|
|
2021-06-16 20:28:05 +02:00
|
|
|
const webpackConfig = require('../webpack.config');
|
|
|
|
|
|
|
|
webpackConfig.entry['app/main'] = './bitwarden_license/src/app/main.ts';
|
2021-07-21 11:32:27 +02:00
|
|
|
webpackConfig.plugins[webpackConfig.plugins.length -1] = new AngularCompilerPlugin({
|
|
|
|
tsConfigPath: 'tsconfig.json',
|
|
|
|
entryModule: 'bitwarden_license/src/app/app.module#AppModule',
|
|
|
|
sourceMap: true,
|
|
|
|
});
|
2021-06-16 20:28:05 +02:00
|
|
|
|
|
|
|
module.exports = webpackConfig;
|