mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
chore: increase NODE_OPTIONS memory limit for build scripts
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"version": "0.0.2-beta.8",
|
||||
"packageManager": "pnpm@9.15.0",
|
||||
"scripts": {
|
||||
"build": "turbo --filter \"./packages/*\" build",
|
||||
"build": "NODE_OPTIONS=--max-old-space-size=16000 turbo --filter \"./packages/*\" build",
|
||||
"dev": "turbo --filter \"./packages/*\" dev",
|
||||
"dev:dts": "turbo --filter \"./packages/*\" dev:dts",
|
||||
"clean": "turbo --filter \"./packages/*\" clean && rm -rf node_modules",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"directory": "packages/better-auth"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8000 tsup --clean --dts",
|
||||
"build": "cross-env NODE_OPTIONS=--max-old-space-size=16000 tsup --clean --dts",
|
||||
"dev": "cross-env NODE_OPTIONS='--max-old-space-size=4000' tsup --watch --sourcemap",
|
||||
"dev:dts": "cross-env NODE_OPTIONS='--max-old-space-size=16192' tsup --watch --dts",
|
||||
"test": "pnpm prisma:push && vitest",
|
||||
|
||||
Reference in New Issue
Block a user