harlan-zw / nuxt-webpack-optimisations

Make your Nuxt.js webpack builds faster ⚡
269 stars 8 forks source link

Minification is not applied by default #45

Open TheDutchCoder opened 1 year ago

TheDutchCoder commented 1 year ago

Describe the bug When building for production, the generated files aren't minified.

To Reproduce Steps to reproduce the behavior:

  1. Install this module and add it to buildModules
  2. Build for production
  3. Do a Lighthouse pass on the site and it'll tell you that JS isn't minified

Expected behavior JS to be minified by default in build mode.

Screenshots

image
vaban-ru commented 1 year ago

Same thing on Nuxt 2.15.8