DEV Community

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

 
sarioglu profile image
sarioglu

Thanks for the information! In fact, using process.env.NODE_ENV in both setups would be better. However since process.env.ROLLUP_WATCH is used to determine mode in rollup.config.js, I wanted to be consistent with it. I've changed it to process.env.NODE_ENV in Sapper template.