Production build on Netlify not respecting NODE_ENV #2375
Unanswered
arnigunnar
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I am having issues on one of my Netlify sites, where I am building the tailwindcss and minifying as well.
This is my tailwind.config.js
Log from Netlify:
I am console.logging the NODE_ENV in the tailwind.config.js file, and on Netlify it's set to Production. On my dev machine, if I set the enabled purge option to true, I get a production version of the CSS, so that seems to work.
Anyone have any ideas ... ?
Beta Was this translation helpful? Give feedback.
All reactions