Skip to content

Let's use AI to Earn!

fix: update build script in package.json to remove TypeScript compilation

柯南40c8fc08f25d
diff --git a/package.json b/package.json
index 6ced4137..ae64f394 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
"postbuild": "next-sitemap",
"dev": "next dev --experimental-https -p 6060",
"dev:local": "cross-env NEXT_PUBLIC_API_URL=http://localhost:7000/api/ next dev --experimental-https -p 6060",
- "build": "tsc && next build",
+ "build": "next build",
"build:copy": "tsc && next build && npm run copy-static",
"copy-static": "xcopy public .next\\standalone\\public /E /I /Y && if exist .next\\static xcopy .next\\static .next\\standalone\\.next\\static /E /I /Y",
"start": "next start",
@@ -75,4 +75,4 @@
"prettier": "^3.0.2",
"typescript": "^5"
}
-}
+}
\ No newline at end of file