mirror of
https://github.com/bitwarden/browser
synced 2024-12-28 02:43:04 +01:00
13 lines
453 B
JavaScript
13 lines
453 B
JavaScript
const AngularCompilerPlugin = require('@ngtools/webpack').AngularCompilerPlugin;
|
|
|
|
const webpackConfig = require('../webpack.config');
|
|
|
|
webpackConfig.entry['app/main'] = './bitwarden_license/src/app/main.ts';
|
|
webpackConfig.plugins[webpackConfig.plugins.length -1] = new AngularCompilerPlugin({
|
|
tsConfigPath: 'tsconfig.json',
|
|
entryModule: 'bitwarden_license/src/app/app.module#AppModule',
|
|
sourceMap: true,
|
|
});
|
|
|
|
module.exports = webpackConfig;
|