### 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 1. HTML Format is completed #18 2. We'll have to get creative with the minify part, because most of the NPM packages won't run in browser 3. Suggestions from @ageddesi: - https://kangax.github.io/html-minifier/ - https://www.npmjs.com/package/html-minifier
Activity
[-][Req]: HTML5 Format / Minify[/-][+][Req]: HTML5 Minifier[/+]dlford commentedon Oct 8, 2022
@ageddesi thanks for the suggestions! Did you want to take a crack at this?
ageddesi commentedon Oct 8, 2022
Could be fun. Will try look over next few days. :)
dlford commentedon Oct 8, 2022
Awesome! Much appreciated!
ageddesi commentedon Oct 8, 2022
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
dlford commentedon Oct 8, 2022
Yeah, that's the issue, most of the minifiers are for node, thanks for looking into it for me though!