perf(dev): Bundle dev server with webpack and add bytecode caching
Add dev server bundling infrastructure to reduce module loading overhead
at startup:
- Add webpack configuration for bundling start-server.ts and its deps
- Add bytecode-cache.ts for V8 bytecode caching with JIT warmup
- Add start-server-with-cache.ts wrapper that enables bytecode caching
- Update taskfile.js to include dev server bundling in build pipeline
- Simplify timing measurement in start-server.ts
The bundled server reduces the number of individual module loads at
startup, and bytecode caching further improves subsequent starts by
caching V8's compiled code.
Use NEXT_USE_UNBUNDLED_SERVER=1 to bypass bundling.
Use NEXT_DISABLE_BYTECODE_CACHE=1 to disable bytecode caching.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>