Negative margin class doesn't work on production build #3317
Unanswered
natsathorn
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.
-
I'm using create-react-app with tailwindcss.
I ejected things and update configuration in
webpack.config.js
.Here is the postcss section in my wrbpack.
in my tailwind.config.js is really simple. I'm not really change or extends anything.
Only add these line to it.
Everything is working fine until, I set
NODE_ENV=production
.Here is the Element from my browser.
<div class="absolute top-0 right-0 grid justify-center items-center cursor-pointer rounded-full bg-white w-6 h-6 -mt-3 -mr-3">
The thing is on production build, all these classes doesn't work.
Beta Was this translation helpful? Give feedback.
All reactions