Add emotion/babel-plugin to React TS project #3060
Unanswered
as12345678901223344567
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have React TS project and I run it in Storybook. I'm trying to add emotion/babel-plugin to it to enable labels in css classes.
This my babel.config.js file:
module.exports = () => ({
presets: ['@babel/preset-env', '@babel/preset-react',''@babel/preset-typescript''],
plugins: [''@emotion/babel-plugin'','@babel/plugin-syntax-jsx'],
});
But this is not working and I really dont know why. Do you have some ideas about it?
Beta Was this translation helpful? Give feedback.
All reactions