You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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