rattrap / spress-html-beautifier
Beautify your HTML
Installs: 42
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:spress-plugin
Requires
- mihaeu/html-formatter: 1.*
- spress/spress-installer: 2.0.*
This package is not auto-updated.
Last update: 2025-01-30 03:02:44 UTC
README
Beautify your Spress HTML output
Inspired by spress-html-compress
How do I install it?
Go to your Spress site and add the following to your composer.json
and run
composer update
:
"require": { "rattrap/spress-html-beautifier": "1.0.*" }
How do I use it?
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