Fix production build

This commit is contained in:
Alexander Zobnin
2021-08-10 16:53:33 +03:00
parent d2ebc399e9
commit b4e0a49e07

View File

@@ -1,9 +1,7 @@
const baseWebpackConfig = require('./webpack.base.conf');
const NgAnnotatePlugin = require('ng-annotate-webpack-plugin');
var conf = baseWebpackConfig;
const conf = baseWebpackConfig;
conf.mode = 'production';
conf.devtool = 'source-map';
conf.plugins.push(new NgAnnotatePlugin());
module.exports = baseWebpackConfig;