-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core: Fix babel config handling #14425
Comments
Are monorepo setups a consideration as well, with root configs? |
In the example linked on #13811 the main babel config is loaded during the webpack build step even though the final babel-loader config has the babelrc option set to false, however this option does not affect loading of babel config files. Adding this to
See differences between config file and babelrc here. |
thx @gabiseabra |
Yay!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.4.0-alpha.33 containing PR #15928 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Storybook's babel handling is inconsistent / broken.
There are three ways to configure it:
babel
/babelDefault
Given this:
Based on experiments in #13811 we observed that there are conditions that break both of these assumptions. In the short term, we should debug this and fix it for 6.3. In the long term we should get rid of the babel config files and make it main.js config only.
Originally posted by shilman in #13811 (comment)
The text was updated successfully, but these errors were encountered: