DEV Community

Discussion on: [Update] Using Svelte with Tailwindcss - A better approach

Collapse
 
fillipvt profile image
fillipvt

This still happens even though I'm using set NODE_ENV=production && sapper export --legacy I find this super weird. Not sure what to do at all.

The only way for me to avoid having all the classes in production is to use purgecss in both dev and prod. What a bummer

Thread Thread
 
danawoodman profile image
Dana Woodman

What about?

NODE_ENV=production sapper export --legacy