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