- Ignore root package.json and Next.js files - Prevents npm from finding wrong project - Ensures only Astro code is built Fixes build error where Next.js code was being compiled.
20 lines
251 B
Plaintext
20 lines
251 B
Plaintext
# Ignore root Next.js project
|
|
../package.json
|
|
../package-lock.json
|
|
../next.config.*
|
|
../src/
|
|
../public/
|
|
../.next/
|
|
../node_modules/
|
|
|
|
# Ignore build artifacts
|
|
dist/
|
|
node_modules/
|
|
.git/
|
|
.gitignore
|
|
|
|
# Ignore other projects
|
|
*/.next/
|
|
*/dist/
|
|
*/node_modules/
|