Skip to content

Control over CSS & JS minification settings? #30

Answered by webdiscus
ryanemitchell asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @ryanemitchell,

the plugin provides no options for CSS & JS minification.

  1. in production mode, JS will be minified automatically, no additional settings required
  2. the plugin avoid extracting *LICENSE.txt files, no settings in Terser required
  3. in mostly use cases used SASS with sass-loader which minified CSS in production mode automatically, no CssMinimizer required.

If you use pure CSS without sass-loader, then you should use the CssMinimizer to minify CSS. This is out of the plugin's control.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ryanemitchell
Comment options

Answer selected by ryanemitchell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants