-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
🙋 WASM support for Node targets #1070
Labels
Comments
davidnagli
added
🙋♀️ Feature
🙏 Help Wanted
Good First Issue
WASM
Web Assembly
Node Bundling
labels
Mar 25, 2018
Oh cool 👍 😃 |
davidnagli
changed the title
🙋 Add support WASM support for Node targets
🙋 WASM support for Node targets
Mar 27, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🙋 Feature Request
Currently if you run Parcel on a project that uses WASM (I tried it on Rust), the output uses
fetch()
to get the.wasm
file. We should detect iftarget
is'node'
, and usefs
instead offetch
.As far as I understood WASM is already supported in Node 8 and Node 9.
Running the way it is, I get the following error:
Repo to Reproduce
Here's where that
fetch()
comes from:parcel/src/builtins/loaders/wasm-loader.js
Lines 1 to 16 in fc041d0
The text was updated successfully, but these errors were encountered: