mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-30 20:41:17 +00:00
789ef8c639
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 |
||
---|---|---|
.. | ||
bundler | ||
create | ||
integrity | ||
minifier | ||
postcss | ||
templates | ||
testdata | ||
tocss/scss | ||
image.go | ||
image_cache.go | ||
image_test.go | ||
readers.go | ||
resource.go | ||
resource_cache.go | ||
resource_metadata.go | ||
resource_metadata_test.go | ||
resource_test.go | ||
smartcrop.go | ||
testhelpers_test.go | ||
transform.go | ||
transform_test.go |