Fix production build
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
const baseWebpackConfig = require('./webpack.base.conf');
|
const baseWebpackConfig = require('./webpack.base.conf');
|
||||||
const NgAnnotatePlugin = require('ng-annotate-webpack-plugin');
|
|
||||||
|
|
||||||
var conf = baseWebpackConfig;
|
const conf = baseWebpackConfig;
|
||||||
conf.mode = 'production';
|
conf.mode = 'production';
|
||||||
conf.devtool = 'source-map';
|
conf.devtool = 'source-map';
|
||||||
conf.plugins.push(new NgAnnotatePlugin());
|
|
||||||
|
|
||||||
module.exports = baseWebpackConfig;
|
module.exports = baseWebpackConfig;
|
||||||
|
|||||||
Reference in New Issue
Block a user