-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support separate wasm file as well as inlined wasm file #164
Comments
wip branch trying the second approach here: https://github.com/isaac-mason/recast-navigation-js/tree/feat/specify-recast-impl Right now the the The emscripten build parameter Some options:
|
Starting with the short term option mentioned above
|
The main advantages of a separate wasm file are reduced bundle size and faster initialisation.
The downside is there are extra considerations required for supporting bundler configuration or serving the wasm from somewhere.
Continuing to support the existing inlined wasm flavour is important for ease of use.
There are several potential approaches. To name some:
recast-navigation
npm package, one with an inlined wasm, one with a separate wasm filerecast-navigation
npm package, support passing an instance of@recast-navigation/wasm
(separate file, inlined wasm, asm.js, other) toinit
The text was updated successfully, but these errors were encountered: