How to use Babel Macros in production builds #2893
Unanswered
maor-benami
asked this question in
Q&A
Replies: 1 comment
-
I assume you mean you want to keep automatic labels in your class names in production. You can do this by setting the Also, I don't think |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using NextJS.
I am also using this
.babelrc
config:{ "presets": ["next/babel"], "plugins": ["babel-plugin-macros", "@emotion/babel-plugin", "inline-react-svg"] }
I would like to keep class-names in production and could not find how to do it in the docs.
In production I get hashed class names
Thank you
Beta Was this translation helpful? Give feedback.
All reactions