-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for minification using html-minifier #20
Conversation
Howdy. Anything else you would like me to add or fix there? Thanks. |
This looks pretty good. Is it perhaps possible to add a test or two and rebase? |
Integration tests for extract-text-webpack-plugin
@ampedandwired I rebased, but I can't get your tests to run. It assumes
I have |
@sebastienbarre I created a new feature branch for this pr: As soon as we got tests it should be ready to merge To run the tests just use |
@jantimon Thanks. That's what I did, |
@sebastienbarre I'm on a Mac, and running $ npm -g ls --depth 0
/Users/simen/.nvm/versions/node/v0.12.2/lib
├── [email protected] -> /Users/simen/Development/csslint-stylish
├── [email protected] -> /Users/simen/Development/grunt-contrib-csslint
├── [email protected] -> /Users/simen/Development/gulp-amdcheck
├── [email protected] -> /Users/simen/Development/gulp-csslint
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] |
Thanks guys. I deleted my |
@sebastienbarre You should look at how (This as well as my own #32 would be obsolete if #10 were implemented, as we could just pass it through |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I discovered
html-webpack-plugin
today, great tool, thanks.This PR adds a
minify
option (true
or an optionsobject
), which enables the minification of all resulting HTML files, using kangax/html-minifier. This comes handy when you are working on your own (unminified) template file, but want the smallest final output for performance.Please note that
html-minifier
is very conservative by default, as most of its options are set tofalse
.I suggest using these for example:
Hope this helps.