htmlnano icon indicating copy to clipboard operation
htmlnano copied to clipboard

Modular HTML minifier, built on top of the PostHTML

Results 27 htmlnano issues
Sort by recently updated
recently updated
newest added

motivation: I'm using htmlnano with AWS Lambda, where the `console.warn` shows in unit tests and AWS cloudwatch. To suppress them, an optional flag is required

The 1st version of htmlnano was released 9+ years ago. Since then, the JS ecosystem has changed a lot. It'd be nice to modernize the codebase so it follows the...

Hi, I noticed that `posthtml` can be run synchronously avoiding async plugins, but I couldn't find this option in `htmlnano`. Is this possible? Thanks!

Starting from 2.1.2, we get the following error while compiling typescript: ``` Property 'process' does not exist on type 'typeof import(".../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/htmlnano/index")' ``` Code snippet: ```ts import htmlnano from "htmlnano"; const...

It'd be nice to have a web version of htmlnano. So people can minify HTML without installing htmlnano. We probably don't have to run the backend for that (due to...

See * https://github.com/maltsev/html-minifiers-benchmark/issues/23 * https://github.com/maltsev/html-minifiers-benchmark/issues/24

like this markup unminified: ```html ``` will simply minified: ```html