fix: Auto-build before start to prevent missing .next errors

Changed `start` script to run `next build && next start` so that
cloned projects work immediately without manual build step.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Asan Stefanski
2025-12-26 23:56:50 +01:00
parent ae84a6e0e9
commit 5e2c9ee478

View File

@@ -6,7 +6,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"start": "next build && next start",
"lint": "next lint",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\""
},