Missing dependency warning
bryanjtc opened this issue · 0 comments
bryanjtc commented
Describe the bug
@babel/types
is missing when using @storybook/mdx2-csf with storybook 6.5, vite-builder and yarn 3.2.3 during build.
This can be fixed by moving @babel/types
to dependencies
To Reproduce
Steps to reproduce the behavior:
- Add @storybook/mdx2-csf as a dependency
- Enable the feature flag
previewMdx2
in storybook config
Expected behavior
No error
Screenshots
Additional context
Add any other context about the problem here.