Migration from version 7 to 8 fails to resolve global styling. #29437
Unanswered
nicholas-quirk-mass-gov
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Folks,
After using the migration script, Storybook fails to start with the following error:
From the call stack above, I'm importing global styling within
preview.tsx
. Theapp.scss
and_mayflower.scss
files import and override styles from the@massds
module. If I remove the import statement frompreview.tsx
then Storybook will startup successfully but without the global styling applied.The setup to resolve the Sass paths is already in place. It's initially defined within the
next.config.js
file which is provided to the Storybookmain.ts
file. I can share my settings if requested, I'm just not sure that would be helpful right now as Storybook 7 works fine.Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions