Mixed Typescript/Wasm/Rust Package #4518
Unanswered
AndrewJSchoen
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am curious about the correct way to achieve the following using wasm-bindgen:
I already have a monorepo setup, where the specific javascript/typescript package I want to augment with the WASM functionality exists as a dependency that gets built for NPM. I would like to combine the existing bundle and the WASM bundle into a single bundle/package, if possible. What would be the expected way to accomplish this?
I am thinking it would make sense to have the "pure" rust code be a separate crate, and the crate in the monorepo that gets merged actually just uses that crate as a dependency, if it matters.
Let me know if any of that is unclear, and thanks for your suggestions!
Beta Was this translation helpful? Give feedback.
All reactions