storybookjs/storybook

[Bug]: NextJS automigration misses static paths

开放

#21,492 创建于 2023年3月9日

 (0 条评论) (1 个反应) (0 位负责人)TypeScript (10,058 个派生)batch import
automigrationsbughas workaroundhelp wantedsev:S3

仓库指标

星标
 (89,909 个星标)
PR 合并指标
 (平均合并 7天 22小时) (30 天内合并 184 个 PR)

描述

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

贡献者指南