Commit dfd4fd2
Your Name
fix: Disable Netlify caching to force fresh build
- Add NETLIFY_USE_YARN and NETLIFY_USE_PNPM flags to force npm
- Configure Next.js plugin with explicit distDir
- This should force Netlify to rebuild without using cached chunks
The JavaScript chunk 404 errors are caused by Netlify serving a cached
build with old chunk references. This commit attempts to force a fresh
build, but manual cache clear via Netlify dashboard may still be needed.1 parent 6a519a1 commit dfd4fd2
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
0 commit comments