[Req]: HTML5 Minifier
Contact Details
No response
Explain the proposed feature
Add minifier to HTML format tool
Explain the possible use cases for the feature
No response
Any other details you would like to provide?
No response
Notes
- HTML Format is completed #18
- We'll have to get creative with the minify part, because most of the NPM packages won't run in browser
- Suggestions from @ageddesi:
- https://kangax.github.io/html-minifier/
- https://www.npmjs.com/package/html-minifier
@ageddesi thanks for the suggestions! Did you want to take a crack at this?
Could be fun. Will try look over next few days. :)
Could be fun. Will try look over next few days. :)
Awesome! Much appreciated!
So far I am hitting 'Module not found: Can't resolve 'fs'' issues with the package I am using https://github.com/terser/html-minifier-terser Will need to have another look tomorrow
So far I am hitting 'Module not found: Can't resolve 'fs'' issues with the package I am using https://github.com/terser/html-minifier-terser Will need to have another look tomorrow
Yeah, that's the issue, most of the minifiers are for node, thanks for looking into it for me though!