storybookjs/storybook
Auf GitHub ansehen[Bug]: NextJS automigration misses static paths
Open
#21.492 geöffnet am 9. März 2023
automigrationsbughas workaroundhelp wantedsev:S3
Repository-Metriken
- Stars
- (89.909 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 7T 22h) (184 gemergte PRs in 30 T)
Beschreibung
Describe the bug
Feedback from @thafryer on upgrading Chromatic's storybook:
When I switched to the NextJS framework, importing assets into stories stopped working. This was working when I was using
react-webpack5as the framework. i switched to pointing a string path to the static directory, which worked.
To Reproduce
No response
System
No response
Additional context
No response