Commit f877bfb
fix(web): dev script 移除 --turbopack flag,改用稳定 next dev
Turbopack(Next.js 15 default fast bundler)在本仓库表现不稳定:
- `.next/server/pages/_document.js` 报 `Cannot find module '../chunks/ssr/[turbopack]_runtime.js'` stale chunk error
- Codex 之前调研 live e2e 也遇到 `next/font/google` 模块解析 fail
- live-memory-chain runner 因此已经强制用普通 `next dev`(非 Turbopack)
dev script 也对齐到普通 next dev,避免 user 跑本地开发时反复遇到
缓存损坏 / module 解析失败。
代价:dev 启动稍慢(~3-5s),但 hot reload 稳定可靠。需要时可手动加回 --turbopack。
Co-authored-by: Codex <noreply@openai.com>1 parent 9c4d30f commit f877bfb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments