mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
fix: add app/ to .gitignore — prevents Next.js App Router conflict
The production standalone build directory (app/) created by scripts/prepublish.mjs was conflicting with Next.js App Router detection. Next.js prioritizes root app/ over src/app/, causing all routes to return 404 in dev mode. The package.json 'files' field still includes app/, so npm publish is unaffected.
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -103,6 +103,11 @@ app.log
|
||||
# Backup directories
|
||||
app.__qa_backup/
|
||||
|
||||
# Production standalone build (created by scripts/prepublish.mjs)
|
||||
# Conflicts with Next.js App Router detection in dev (root app/ shadows src/app/)
|
||||
# npm publish still includes it via package.json "files" field
|
||||
app/
|
||||
|
||||
# Electron (subproject dependency lock and build artifacts)
|
||||
electron/package-lock.json
|
||||
electron/dist-electron/
|
||||
|
||||
Reference in New Issue
Block a user