mirror of
https://github.com/penpot/penpot.git
synced 2026-09-30 15:56:17 +00:00
Two Windows-specific issues in packages/server/package.json: 1. Path resolution: `node scripts/copy-resources.js` could fail in some Windows environments (bash-in-CMD) because the bare relative path gets mis-parsed. Change to `node ./scripts/copy-resources.js` to make the path explicit. 2. esbuild binary not found: bare `esbuild` fails when the node_modules/.bin shim is not on PATH in certain Windows setups. Change to `pnpm exec esbuild` so pnpm resolves the local binary via its own mechanism, consistent across platforms. Fixes #8637 Signed-off-by: Andrey Antukh <niwi@niwi.nz> Co-authored-by: Andrey Antukh <niwi@niwi.nz>