Next.js Local Development
Installation
SKILL.md
Next.js Local Development
Expert guidance on optimizing Next.js local development — Turbopack, antivirus, imports, Tailwind config, memory, Docker, and Turbopack tracing.
@doc-version: 16.2.6
Core Concepts
next dev compile routes on-demand (เมื่อเปิดหน้านั้น) — ต่างจาก next build ที่ compile ทั้งหมด ถ้า dev ช้า มักเกิดจาก:
- Antivirus scanning files
- Large imports / barrel files
- Tailwind scanning too many files
- Docker filesystem overhead
- Memory constraints