mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-27 22:11:38 +01:00
uglify placeholder
This commit is contained in:
parent
ae5ad770aa
commit
7cecdfc828
@ -1,5 +1,6 @@
|
|||||||
const merge = require('webpack-merge');
|
const merge = require('webpack-merge');
|
||||||
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||||
|
//const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
||||||
const common = require('./webpack.common.js');
|
const common = require('./webpack.common.js');
|
||||||
const webpack = require('webpack');
|
const webpack = require('webpack');
|
||||||
|
|
||||||
@ -28,6 +29,13 @@ module.exports = merge(common, {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
// UglifyJS does not support es6
|
||||||
|
// ref: https://github.com/webpack/webpack/issues/2972#issuecomment-261705632
|
||||||
|
//new UglifyJSPlugin({
|
||||||
|
// uglifyOptions: {
|
||||||
|
// mangle: false
|
||||||
|
// }
|
||||||
|
//}),
|
||||||
new webpack.SourceMapDevToolPlugin({
|
new webpack.SourceMapDevToolPlugin({
|
||||||
filename: '[name].js.map',
|
filename: '[name].js.map',
|
||||||
include: ['background.js', 'popup/app.js']
|
include: ['background.js', 'popup/app.js']
|
||||||
|
Loading…
Reference in New Issue
Block a user