Open gavrilikhin-d opened 6 days ago
https://github.com/gavrilikhin-d/repro
Test prefetching in production mode
npm install npm run build npm run start
Prefetching should work
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:05:14 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8103 Available memory (MB): 8192 Available CPU cores: 8 Binaries: Node: 22.9.0 npm: 10.8.3 Yarn: 1.22.22 pnpm: N/A Relevant Packages: next: 15.0.3 // Latest available version is detected (15.0.3). eslint-config-next: N/A react: 19.0.0-rc-66855b96-20241106 react-dom: 19.0.0-rc-66855b96-20241106 typescript: 5.6.3 Next.js Config: output: N/A
Lazy Loading, Webpack
next build (local), next start (local)
Broken since 15.0.3-canary.7, because on 15.0.3-canary.6 it works
15.0.3-canary.7
15.0.3-canary.6
Note that webpackChunkName works even on 15.0.3
webpackChunkName
It could be related to webpack bump https://github.com/vercel/next.js/pull/72290
Link to the code that reproduces this issue
https://github.com/gavrilikhin-d/repro
To Reproduce
Test prefetching in production mode
Current vs. Expected behavior
Prefetching should work
Provide environment information
Which area(s) are affected? (Select all that apply)
Lazy Loading, Webpack
Which stage(s) are affected? (Select all that apply)
next build (local), next start (local)
Additional context
Broken since
15.0.3-canary.7
, because on15.0.3-canary.6
it works