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.
17 lines
400 B
JavaScript
17 lines
400 B
JavaScript
const config = require('./webpack.config.js');
|
|
|
|
config.devtool = false;
|
|
config.mode = 'production';
|
|
|
|
config.optimization = config.optimization || {};
|
|
config.optimization.minimize = true;
|
|
|
|
config.output = config.output || {};
|
|
config.output.filename = 'quagga.min.js';
|
|
config.output.sourceMapFilename = '';
|
|
|
|
config.resolve = config.resolve || {};
|
|
delete config.resolve.alias;
|
|
|
|
module.exports = config;
|