Next.js Discord

Discord Forum

CSS is not transferring from development to production correctly

Answered
Argentine hake posted this in #help-forum
Open in Discord
Argentine hakeOP
I have two css files in my styles folder. In development, it works flawlessly. However when I push to production, the css is not the same and I think the minifier is not doing it correctly. Would anyone know how to fix it. I will attach both my css files
Answered by Argentine hake
Figured it out. I needed to have my css variables in both css files
View full answer

2 Replies

Argentine hakeOP
Argentine hakeOP
Figured it out. I needed to have my css variables in both css files
Answer