storybookjs/storybook

[Bug]: Revert workaround for webpack lazy compilation bug

已關閉

#32,302 建立於 2025年8月20日

 (2 則留言) (2 個反應) (2 位負責人)TypeScript (10,058 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (89,909 顆星)
PR 合併指標
 (平均合併 7天 22小時) (30 天內合併 184 個 PR)

描述

Describe the bug

Webpack has now fixed the lazy compilation bug that prompted us to add a workaround in #18432. Confirmed both reproductions are resolved.

In the Storybook repro, the test runner still times out on the first run, but that seems unrelated to the webpack bug (and likely already addressed elsewhere). Since the test runner already warns users about lazy compilation, reverting this workaround shouldn’t make things worse.

We should

  • Remove the work
  • Verify Storybook still runs correctly with lazy compilation enabled
  • Confirm test runner behavior remains consistent

Reproduction link

https://github.com/webpack/webpack/issues/15541

Reproduction steps

No response

System

-

Additional context

No response

貢獻者指南