Skip to content

Commit 2c3e5c9

Browse files
committed
Allow esbuild build script
pnpm 11 blocks dependency build scripts by default (strictDepBuilds) and exits non-zero on an unreviewed one, failing install. esbuild (via vitest) needs its postinstall to place its native binary. Approve it via allowBuilds, pnpm's build-script approval setting (the array-based onlyBuiltDependencies was removed in pnpm 11).
1 parent bb4f061 commit 2c3e5c9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
allowBuilds:
2+
esbuild: true

0 commit comments

Comments
 (0)