Setting up tsconfig.json file for storybook #25513
Replies: 3 comments
-
To add more context to @WillLiang918 's description: If This led us to believe that the moduleSuffixes option must have been dropped somewhere. Maybe it got overridden by Storybook's |
Beta Was this translation helpful? Give feedback.
-
Linked issue: #25532 |
Beta Was this translation helpful? Give feedback.
-
Closing in favour of the issue #25513 |
Beta Was this translation helpful? Give feedback.
-
Summary
Hello!
I am running into an issue with storybook not correctly using the tsconfig.json file. Specially my project needs to use the
compilerOptions.moduleSuffixes
option.I've created a sample project off of
npx storybook@latest init
to reproduce the issue I am running into. https://github.com/WillLiang918/storybook-test. The following are the modifications I've made:Running this sample project will result in a
Module not found: Error: Can't resolve './Button'
error. Any help would be greatly appreciated! Thank you!Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions