htmlnano
htmlnano copied to clipboard
Modular HTML minifier, built on top of the PostHTML
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...
Logotype
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.
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...
Which is breaking code, of course. Here is the case: `` turning into ``. When I disable minifyJs option, everything is fine.
```html ``` can be shortened to: ```html ``` [http-equiv-refresh](https://npmjs.com/http-equiv-refresh)
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 ``, ``, ``
Source: ``` html {{title}} ``` Minified: ``` html {{title}} ```