diff --git a/package.json b/package.json index d2ee2002754c..511ff7046a41 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "test:e2e": "cd tests && npm run test", "fast-lint": "sh -x ./scripts/fast-lint.sh", "lint:package-json": "cd ./scripts/lint-package-json && pnpm start", - "prepare-build": "cross-env NX_DAEMON=false nx run-many -t build -p @modern-js/* --maxParallel=100", + "prepare-build": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run-many -t build -p @modern-js/* --maxParallel=100", "prepare": "npm run prepare-build && husky install", "lint": "npm run fast-lint", "change": "modern change",