From 956dd11cccb89de35eaea9f5656423aa5ef9a178 Mon Sep 17 00:00:00 2001 From: chenhang Date: Wed, 10 Jun 2026 16:52:55 +0800 Subject: [PATCH] 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. --- package.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package.json b/package.json index 3eb25578..2661c49b 100644 --- a/package.json +++ b/package.json @@ -42,5 +42,12 @@ "tailwindcss": "^4", "typescript": "^5", "vitest": "^4.1.8" + }, + "pnpm": { + "onlyBuiltDependencies": [ + "next", + "@tailwindcss/postcss", + "tailwindcss" + ] } }