philhawksworth / netlify-plugin-minify-html

26 stars 8 forks source link

Netlify HTML minification not working post-process #2

Open Thoughtscript opened 4 years ago

Thoughtscript commented 4 years ago

Hi - I have a simple blog: https://thoughtscript.io/blog.html - that's a scratch-built Statically-Generated Site Framework in pure Node JS. It uses limited preprocessing minification (JS, CSS, and HTML) but a few MD-injected pages don't have post-processing minification.

I saw your build plugin on Netlify and thought it'd be a handy solution. It however did not further minify any of my html.

Screen Shot 2020-05-27 at 4 05 32 PM

One of the minified HTML pages (from the framework I built) for comparison:

Screen Shot 2020-05-27 at 4 09 19 PM

Thanks!

philhawksworth commented 4 years ago

This bug should be fixed in v0.2.3 Try updating to that version in your package.json.

Thoughtscript commented 4 years ago

Thanks - will do. I appreciate your taking a look at this.