When deployment workflow runs or yarn build runs, the different beautified .css files are automatically minified.
All beautified .css is minified and then added to a single site.css file.
Antora/ the web server will used the minified site.css to generate the site.
Additional notes:
Currently when someone makes changes to the minified site.css we have no versioning information with git which makes reviews difficult and error prone.
I merged #92 into this for the example.
This has been tested locally on my machine and you should be able to test it as well by manually running the script from the project ROOT:
Summary
Can we get a script like this added to:
yarn build
command in terminal.Workflow:
.css
files.yarn build
runs, the different beautified.css
files are automatically minified..css
is minified and then added to a singlesite.css
file.site.css
to generate the site.Additional notes:
site.css
we have no versioning information with git which makes reviews difficult and error prone.