Beautify your Spress HTML output
Inspired by spress-html-compress
Go to your Spress site and add the following to your composer.json
and run
composer update
:
"require": {
"rattrap/spress-html-beautifier": "1.0.*"
}
Add the following to your config.yml to exclude some files from minify/compress process:
html_beautifier_excluded: ['.htaccess', 'CNAME', 'robots.txt', 'crossdomain.xml', 'sitemap.xml', 'rss.xml']
And run the build command:
spress site:build