-
-
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
[Bug]: Can't transpile TypeScript files in PNPM monorepo #21998
Comments
Given your commit history, it only affects webpack monorepo projects, and not vite monorepo projects. @ndelangen I seems like the babelrc is not picked up. Any ideas here? |
Yep, I've managed to start storybook by migrating to vite, no luck with webpack. |
Our babel config generation script does not support monorepos, because babel config generation is complex and loaded with edge cases. https://babeljs.io/docs/configuration I believe that @kasperpeulen found that if you rename the |
@kasperpeulen Hello, I hope know why support the |
Shiver me timbers!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.1.0-alpha.4 containing PR #22052 that references this issue. Upgrade today to the
|
Jiminy cricket!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.5 containing PR #22052 that references this issue. Upgrade today to the
|
@Flcwl I'm not understanding your question, I'm sorry. The file we generate to get a babel config set up, isn't feature complete, because it's incredibly hard to generate the exact correct config for everyone. Therefore it will generate what will work for most. |
Describe the bug
I'm trying to setup a monorepo with storybook in the root but it fails with an error:
I've used
pnpm dlx storybook init
command to initialize storybookTo Reproduce
https://github.com/getweek/week-editor
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: