chore: configure pnpm to allow build scripts for next and tailwindcss

Allow pnpm to run build scripts for next, @tailwindcss/postcss, and tailwindcss by adding the onlyBuiltDependencies configuration. This is required to prevent pnpm from blocking post-install build scripts for these packages.
This commit is contained in:
2026-06-10 16:52:55 +08:00
parent 6b5ec1d290
commit 956dd11ccc
+7
View File
@@ -42,5 +42,12 @@
"tailwindcss": "^4", "tailwindcss": "^4",
"typescript": "^5", "typescript": "^5",
"vitest": "^4.1.8" "vitest": "^4.1.8"
},
"pnpm": {
"onlyBuiltDependencies": [
"next",
"@tailwindcss/postcss",
"tailwindcss"
]
} }
} }