1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-10-01 04:27:40 +02:00

uglify placeholder

This commit is contained in:
Kyle Spearrin 2017-11-09 12:48:50 -05:00
parent ae5ad770aa
commit 7cecdfc828

View File

@ -1,5 +1,6 @@
const merge = require('webpack-merge');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
//const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
const common = require('./webpack.common.js');
const webpack = require('webpack');
@ -28,6 +29,13 @@ module.exports = merge(common, {
]
},
plugins: [
// UglifyJS does not support es6
// ref: https://github.com/webpack/webpack/issues/2972#issuecomment-261705632
//new UglifyJSPlugin({
// uglifyOptions: {
// mangle: false
// }
//}),
new webpack.SourceMapDevToolPlugin({
filename: '[name].js.map',
include: ['background.js', 'popup/app.js']