✌️
This commit is contained in:
parent
f02fcd0e2a
commit
1439c3245b
22 changed files with 446 additions and 101 deletions
|
@ -243,8 +243,12 @@ module.exports = entries.map(x => {
|
|||
cache: true,
|
||||
devtool: 'source-map',
|
||||
optimization: {
|
||||
minimize: doMinify
|
||||
minimize: isProduction && doMinify
|
||||
},
|
||||
mode: doMinify ? 'production' : 'development'
|
||||
mode: isProduction
|
||||
? doMinify
|
||||
? 'production'
|
||||
: 'development'
|
||||
: 'development'
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue