diff --git a/package.json b/package.json index e10b0fb8..421150a5 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/better-auth/package.json b/packages/better-auth/package.json index 85b9b150..15a60786 100644 --- a/packages/better-auth/package.json +++ b/packages/better-auth/package.json @@ -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",