storybookjs/storybook

[Bug]: NextJS automigration misses static paths

オープン

#21,492 opened on 2023/03/09

 (0 件のコメント) (1 件のリアクション) (0 人の担当者)TypeScript (10,058 件のフォーク)batch import
automigrationsbughas workaroundhelp wantedsev:S3

Repository metrics

Stars
 (89,909 個のスター)
PR merge metrics
 (平均マージ 7d 22h) (30d で 184 merged PRs)

説明

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-webpack5 as 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

コントリビューターガイド