mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 11:06:29 +00:00
Optimize Next.js memory and handle 404s
Configure startup and package-import optimizations, exclude generated Next.js files from TypeScript checks, and route fetch responses with status 404 to the not-found page.
This commit is contained in:
+2
-2
@@ -12,7 +12,7 @@
|
||||
"url": "https://github.com/ichsankurnia/hats-app/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "next dev -p 1209",
|
||||
"dev": "set NODE_OPTIONS=\"--max-old-space-size=2048\" && next dev -p 1209",
|
||||
"dev:save": "set NODE_TLS_REJECT_UNAUTHORIZED='0' && next dev -p 1209",
|
||||
"build": "next build",
|
||||
"start": "next start -p 7002",
|
||||
@@ -95,4 +95,4 @@
|
||||
"tw-animate-css": "^1.4.0",
|
||||
"typescript": "^5"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user