webpack: use source maps for production build

This commit is contained in:
Alexander Zobnin
2019-02-14 14:47:30 +03:00
parent 6ca59e4592
commit d3630d8b77

View File

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