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

Currently, the `removeComments` options allows to 1. keep all comments (using `false`) 1. remove all comments (using `'all'`) 1. remove all except the conditional ones and `` (using `'safe'`) This...

enhancement

It'd be nice if `htmlnano` gets its own logotype :-) Any designers willing to create it?

This can be done simply by calling [posthtml-uglify](https://github.com/Rebelmail/posthtml-uglify) inside `minifyCss`. Bonus is that it can share the whitelist with uncss if we add uncss per #36.

enhancement

It'd be nice to have an easy way to use htmlnano with rollup. I have never really worked with rollup, so I'm not sure what is the best way to...

enhancement

Which is breaking code, of course. Here is the case: `` turning into ``. When I disable minifyJs option, everything is fine.

bug

```html ``` can be shortened to: ```html ``` [http-equiv-refresh](https://npmjs.com/http-equiv-refresh)

enhancement

In #29 @SukkaW asked whether it's possible to remove closing tags in PostHTML since it'd produce an invalid HTML. Although I don't know the answer to that particular question, it...

@stevenvachon: > 1. Remove optional closing tags such as ``, ``, ``, ``, ``, ``, ``, ``, `` > 2. remove optional opening tags such as ``, ``, ``

enhancement
new module

Source: ``` html {{title}} ``` Minified: ``` html {{title}} ```

enhancement
new module