14 lines
268 B
JavaScript
14 lines
268 B
JavaScript
const { merge } = require('webpack-merge');
|
|
const common = require('./webpack.common.js');
|
|
|
|
module.exports = (env) => {
|
|
const mode = 'production';
|
|
env.mode = mode;
|
|
|
|
return merge(common(env), {
|
|
mode,
|
|
optimization: {
|
|
minimize: false,
|
|
},
|
|
});
|
|
};
|