# pnpm 10+ stopped reading build-script settings from package.json's "pnpm" # field and blocks dependency build scripts by default. pnpm 11 reads the # allow-list from `allowBuilds` here (captured via `pnpm approve-builds`). # Without it, better-sqlite3's native binary is never compiled and the SSR # server crashes at runtime (ERR_DLOPEN_FAILED / NODE_MODULE_VERSION mismatch). allowBuilds: better-sqlite3: true esbuild: true sharp: true