Pin esbuild as a devDependency (SSR build relies on unpinned npx download) #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
scripts/ssr-build.mjs(~line 147) prefers a globalesbuildand falls back tonpx esbuild, which downloads an unpinned version on first run. esbuild is load-bearing for the SSR build but appears nowhere inpackage.json— onlybreak_infinity.jsis declared.Consequences:
Fix:
npm install --save-dev esbuild, and have the build script resolve the local binary (node_modules/.bin/esbuild) before falling back.