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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use --no-modules when calling wasm-bindgen in our examples #36

Open
chinedufn opened this issue Sep 29, 2018 · 0 comments
Open

Use --no-modules when calling wasm-bindgen in our examples #36

chinedufn opened this issue Sep 29, 2018 · 0 comments

Comments

@chinedufn
Copy link
Owner

When wasm-bindgen generated a large file i.e. (i.e. a 9 Mb debug build) it can take over 50 seconds for webpack to generate a module for the .wasm file that.

This is unsustainably large, so we should move our examples to use --no-modules as described here https://rustwasm.github.io/wasm-bindgen/examples/no-modules.html

@chinedufn chinedufn changed the title Use --no-modules when calling wasm-bindgen Use --no-modules when calling wasm-bindgen in our examples Sep 29, 2018
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