-
-
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
V2: Fails to resolve wasm file from node module #4839
Comments
can parcel import wasm from node_modules right now? |
looks like it still can't be done, there is no transformer for wasm right now. |
anything update ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 bug report
🎛 Configuration (.babelrc, package.json, cli command)
This is a nested
package.json
inside a monorepopackages/app/package.json
🤔 Expected Behavior
I am importing and using wasm library for
https://github.com/vislyhq/stretch
, since it says that parcel supports wasm out of the box I expected there to be no build errors.😯 Current Behavior
When I'm trying to start or build an app I get an error:
I also tried to slap
.wasm
on the end ofstretchlayout_bg
layout thinking that maybe parcel needs it to resolve this correctly, but had no luck:💁 Possible Solution
Not sure, is this functionality implemented in parcel v2 or is it still on the roadmap?
🔦 Context
Trying to use wasm library in parcel, was under assumption this is supported out of the box, but is currently failing.
💻 Code Sample
You can import anything from this library to trigger an error i.e.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: