mirror of
https://github.com/bitwarden/browser
synced 2025-01-21 08:47:52 +01:00
uglify placeholder
This commit is contained in:
parent
ae5ad770aa
commit
7cecdfc828
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user