breezify icon indicating copy to clipboard operation
breezify copied to clipboard

How to use with browser?

Open bramski opened this issue 1 year ago • 1 comments

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?

bramski avatar Jul 19 '24 21:07 bramski

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.

glebgorokhov avatar Jul 23 '24 10:07 glebgorokhov