Thanks for the great example, it saved me a bunch of time.
I use a luminus generated project, which manages the package.json from lein, so I can't add scripts to the package.json (or I haven't figured out how that is).
Here's a little Makefile adapted from the scripts, if anyone finds it useful.
FYI purgecss is now included in tailwind. So you can scrap the purge config file and use the tailwind config file instead.
Just use NODE_ENV=production to get tailwind to purge.
Thanks for the great example, it saved me a bunch of time.
I use a luminus generated project, which manages the package.json from lein, so I can't add scripts to the package.json (or I haven't figured out how that is).
Here's a little Makefile adapted from the scripts, if anyone finds it useful.