fix: use webpack build instead of Turbopack (global-error prerender bug)
This commit is contained in:
1 parent
a6793a72d2
commit
f7ce0e5fbe
1 file changed
+1
-1
+1
-1
@@ -5,7 +5,7 @@
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3000",
|
||||
"dev:log": "next dev -p 3000 2>&1 | tee dev.log",
|
||||
"build": "prisma generate && next build && cp -r .next/static .next/standalone/.next/ && cp -r public .next/standalone/",
|
||||
"build": "prisma generate && next build --webpack && cp -r .next/static .next/standalone/.next/ && cp -r public .next/standalone/",
|
||||
"start": "NODE_ENV=production bun .next/standalone/server.js 2>&1 | tee server.log",
|
||||
"lint": "eslint .",
|
||||
"db:push": "prisma db push --accept-data-loss",
|
||||
|
||||
Reference in new issue
Block a user