You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've reviewed a few sources and tried to put a safe set of minification defaults
that will not break common use cases such as some javascript and CSS use cases.
I've used a subset of the "safe" options [from here](https://kangax.github.io/html-minifier/).
Options not used are:
- Remove redundant attributes (can break styles/JS)
- Remove empty attributes (can break styles/JS)
- Remove empty elements (if the empty tag is indeed unintended it should be removed from the original)
- Minify URLs (seems like it should be at the users discretion to rewrite absolute URLs)
This addresses a number of issues: webpack-contrib#40, webpack-contrib#38.
0 commit comments