Disable webpack minification to avoid double minification with terser
This commit is contained in:
parent
5e6502f25f
commit
d40c64065c
2 changed files with 5 additions and 0 deletions
|
|
@ -31,6 +31,10 @@ let babelRCOptions = {
|
|||
};
|
||||
|
||||
module.exports = {
|
||||
mode: 'production',
|
||||
optimization: {
|
||||
minimize: false // Let grunt-terser handle minification to avoid double-minification
|
||||
},
|
||||
// Tell Webpack which file kicks off our app.
|
||||
entry: {
|
||||
main: path.resolve(__dirname, 'rhodecode/public/js/src/components/index.js'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue