Skip to content

build: resolve esbuild via module resolution - #26

Merged
alloevil merged 1 commit into
masterfrom
fix/esbuild-resolve
Sep 4, 2026
Merged

alloevil merged 1 commit into
masterfrom
fix/esbuild-resolve

Conversation

@alloevil

@alloevil alloevil commented Sep 4, 2026

Copy link
Copy Markdown
Owner

scripts/build-legacy-pure.mjs imported ../frontend/node_modules/esbuild/lib/main.js; hoisting changes (e.g. @vitejs/plugin-react 6) move it and break prepare. Use createRequire from frontend/package.json. Regenerated pure.js is byte-identical.

@alloevil
alloevil merged commit 512ae24 into master Sep 4, 2026
3 checks passed
@alloevil
alloevil deleted the fix/esbuild-resolve branch September 4, 2026 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant