-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
@storybook/builder-webpack5@6.5.0 breaks the babelModeV7 option #18263
Comments
Getting a different error, on Nx workspaces with React apps, still webpack5 related. Posted a comment here. |
Have the same issue on an Angular SB. In order to make it work I have to set both core: {
builder: {
name: 'webpack5',
options: {
lazyCompilation: true,
fsCache: true,
},
},
},
features: {
postcss: false,
buildStoriesJson: true,
storyStoreV7: true,
babelModeV7: true,
}, Note that I'm using the default babel configuration as indicated on this page: https://storybook.js.org/docs/react/configure/babel |
Ouch! Sorry gang, should have a fix in the next day or so. |
Is #18279 related to this? I don't have either of those options enabled; but I use custom webpack config so I assume that is equivalent to babelv7 mode? |
Gadzooks!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.4 containing PR #18284 that references this issue. Upgrade today to the
|
Describe the bug
A clear and concise description of what the bug is.
When in condition above, compilation failed with
To Reproduce
Enable both webpack5 builder and babelModeV7 in 6.5.0
System
Additional context
79e5f5a
This line of code is added in
@storybook/builder-webpack5@6.5.0
The text was updated successfully, but these errors were encountered: