1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-02-19 13:12:35 +00:00
hugo/transform/livereloadinject
Bjørn Erik Pedersen 789ef8c639
Add support for minification of final output
Hugo Pipes added minification support for resources fetched via ´resources.Get` and similar.

This also adds support for minification of the final output for supported output formats: HTML, XML, SVG, CSS, JavaScript, JSON.

To enable, run Hugo with the `--minify` flag:

```bash
hugo --minify
```

This commit is also a major spring cleaning of the `transform` package to allow the new minification step fit into that processing chain.

Fixes 
2018-08-06 19:58:41 +02:00
..
livereloadinject.go Add support for minification of final output 2018-08-06 19:58:41 +02:00
livereloadinject_test.go Add support for minification of final output 2018-08-06 19:58:41 +02:00