DEV Community

Discussion on: How to Set Up SvelteKit with Tailwind CSS

Collapse
 
mgrisole profile image
mgrisole

In my case I had to change the build script from:

"build": "rollup -c"
to
"build": "NODE_ENV=production rollup -c"

to actually purge unused css

Ref: tailwindcss.com/docs/optimizing-fo...