htmlmin
htmlmin copied to clipboard
A simple html minifier.
Before: ```js [] ``` After: ```js ``` Which [loadable/components](https://github.com/smooth-code/loadable-components/) relies on, otherwise it blows up!
Outdated UglifyJS dependency triggers a fail if it goes through Node Security Project (https://nodesecurity.io/advisories/48). Updating UglifyJS to >=2.6.0 would solve the issue.
before:`` after:``
An item with the following onclick attribute onclick="$('foo').something()" becomes onclick="$("foo").something()" which obviously breaks. htmlmin shouldn't be touching the contents of attributes at all.