breezify
breezify copied to clipboard
How to use with browser?
I am producing HTML files in a react app and would like to use this to further minimize the html files produces by shortening all the class names. How can I use this in a browser?
Hey @bramski! Sorry for the late reply. Breezify does its work after you build, not before. The easiest way to use it is via CLI, as described in docs: https://github.com/glebgorokhov/breezify#usage
Add && breezify do to your build command like it was done here https://github.com/glebgorokhov/breezify-examples/blob/main/vite-html-tailwind/package.json
After the build you can preview your build to make sure nothing broke.