Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for how to use Twiggy with wasm-pack #742

Open
faassen opened this issue Nov 2, 2023 · 1 comment
Open

Documentation for how to use Twiggy with wasm-pack #742

faassen opened this issue Nov 2, 2023 · 1 comment

Comments

@faassen
Copy link

faassen commented Nov 2, 2023

馃挕 Feature Description

I don't know how to use Twiggy with wasm-pack.

I would like to see documentation that explained what to do. Specifically, the instructions in #490 should go in the documentation. Note that these instructions are still not working for me due to a "WASM error: Unknown opcode"; I'm going to try to build from main to see whether that fixes it (that appears to have fixed it). See also #576

In addition I'd like to understand how to use Twiggy with a release mode binary; the instructions above I think require --dev. If that's possible, there should be something in the documentation about that so people don't go look for how to do it. See also #588

Or should I use something else than wasm-pack to get a wasm file? If so the documentation could mention what to do instead.

@faassen
Copy link
Author

faassen commented Nov 2, 2023

It appears that with Twiggy from git you can use --release with wasm-pack and it still appears to be able to generate useful information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant