Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't depend on npm:esbuild #120

Merged
merged 2 commits into from
Mar 15, 2024
Merged

fix: don't depend on npm:esbuild #120

merged 2 commits into from
Mar 15, 2024

Conversation

lucacasonato
Copy link
Owner

npm:esbuild-wasm does not actually use WASM when not loaded in a browser. As such, we need to use https://deno.land/x/[email protected]/wasm.js when targeting wasm.

This commit decouples esbuild_deno_loader from any specific esbuild version, by bundling the required types for the esbuild plugin API itself.

`npm:esbuild-wasm` does not actually use WASM when not loaded in a browser. As such, we need to use https://deno.land/x/[email protected]/wasm.js when targeting wasm.

This commit decouples esbuild_deno_loader from any specific esbuild version, by bundling the required types for the esbuild plugin API itself.
@lucacasonato lucacasonato merged commit 54a50d6 into main Mar 15, 2024
6 checks passed
@lucacasonato lucacasonato deleted the esbuild_not_from_npm branch March 15, 2024 13:24
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