mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
vendors for background. clean out gulp.
This commit is contained in:
@@ -1,16 +1,8 @@
|
||||
const merge = require('webpack-merge');
|
||||
//const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
||||
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||
const common = require('./webpack.common.js');
|
||||
|
||||
const extractLess = new ExtractTextPlugin({
|
||||
filename: 'popup/css/[name].css',
|
||||
disable: false,
|
||||
allChunks: true
|
||||
});
|
||||
|
||||
module.exports = merge(common, {
|
||||
devtool: 'source-map',
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
@@ -29,7 +21,14 @@ module.exports = merge(common, {
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
extractLess
|
||||
//new UglifyJSPlugin()
|
||||
new webpack.SourceMapDevToolPlugin({
|
||||
filename: '[name].js.map',
|
||||
exclude: ['vendor.js', 'popup/vendor.js']
|
||||
}),
|
||||
new ExtractTextPlugin({
|
||||
filename: 'popup/css/[name].css',
|
||||
disable: false,
|
||||
allChunks: true
|
||||
})
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user