Add babel plugin to @vitejs/plugin-react in Storybook config #23173
Unanswered
JesusTheHun
asked this question in
Show and tell
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
react-intland in my app I pass some options to the react plugin :Sadly, you cannot pass options to Storybook for the plugin instantiation. So I decided to swap the instance with my own :
And then in my
main.ts:And it works just fine 👌
Beta Was this translation helpful? Give feedback.
All reactions