You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
490 B
JavaScript
21 lines
490 B
JavaScript
var webpack = require('webpack');
|
|
module.exports = require('./webpack.config.js');
|
|
|
|
module.exports.plugins = module.exports.plugins.concat([
|
|
new webpack.LoaderOptionsPlugin({
|
|
minimize: true,
|
|
debug: false
|
|
}),
|
|
new webpack.optimize.UglifyJsPlugin({
|
|
compress: {
|
|
warnings: false
|
|
},
|
|
sourceMap: false
|
|
}),
|
|
]);
|
|
|
|
module.exports.output.filename = 'quagga.min.js';
|
|
|
|
module.exports.output.sourceMapFilename = '';
|
|
module.exports.devtool = false;
|