Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: make the minimizer config available in all modes #4641
As long as the
By exposing this config, users can simplify their custom config, by
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
As long as the `minimize` option is set to false (which is default in production mode), the code won't be minimized. So the mode doesn't matter when it comes to the `minimizer` config. By exposing this config, users can simplify their custom config, by removing the `process.env.NODE_ENV === 'production'` guard around their custom minimizer configuration.