Importing a *.wasm file for custom builds #189
Unanswered
stephenpassero
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When reading the docs about custom builds, it says to import the generated wasm file like this:
import opencascadeWasm from 'rocketExample.wasm'
However, when we run that, we get this error:
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".wasm"
We're running this all in node, so there's no webpack config set up... Anyone have an idea what's going wrong?
Beta Was this translation helpful? Give feedback.
All reactions