Open mw999 opened 4 years ago
For example with the following code:
const Container = styled.div` ${tw`-m-4`} `
This would evaluate in development development to this:
"marginTop": "-" + _tailwind32.default.negativeMargin["4"]
However in production, it created
"marginTop": "\"-\"+1rem"
Here is chrome not liking the built style in prod
Have submitted a PR here: https://github.com/bradlc/babel-plugin-tailwind-components/pull/56
For example with the following code:
This would evaluate in development development to this:
However in production, it created
Here is chrome not liking the built style in prod