Disable webpack minification to avoid double minification with terser

This commit is contained in:
Andrii V 2025-12-12 18:31:10 +01:00
parent 5e6502f25f
commit d40c64065c
2 changed files with 5 additions and 0 deletions

View file

@ -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'),