hugo/resource
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 #1251
2018-08-06 19:58:41 +02:00
..
bundler
create
integrity
minifier Add support for minification of final output 2018-08-06 19:58:41 +02:00
postcss resource/postcss: Try node_modules/postcss-cli/bin/postcss first 2018-07-18 10:00:50 +02:00
templates
testdata
tocss/scss tocss/scss: Improve _ prefix handling in SCSS imports 2018-07-31 16:53:03 +02:00
image.go Add support for minification of final output 2018-08-06 19:58:41 +02:00
image_cache.go Fix file paths for uncached transformed images 2018-07-31 13:31:35 +02:00
image_test.go Fix file paths for uncached transformed images 2018-07-31 13:31:35 +02:00
readers.go
resource.go Add support for minification of final output 2018-08-06 19:58:41 +02:00
resource_cache.go Add support for minification of final output 2018-08-06 19:58:41 +02:00
resource_metadata.go
resource_metadata_test.go
resource_test.go
smartcrop.go
testhelpers_test.go Add support for minification of final output 2018-08-06 19:58:41 +02:00
transform.go Add support for minification of final output 2018-08-06 19:58:41 +02:00
transform_test.go