storybookjs/storybook

[Bug]: Revert workaround for webpack lazy compilation bug

Fermée

#32 302 ouverte le 20 août 2025

 (2 commentaires) (2 réactions) (2 personnes assignées)TypeScript (10 058 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (89 909 étoiles)
Métriques de merge PR
 (Merge moyen 7j 22h) (184 PRs mergées en 30 j)

Description

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

Guide contributeur