-
-
Notifications
You must be signed in to change notification settings - Fork 958
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
Optimize wasm bindgen asset with manganis #3531
Optimize wasm bindgen asset with manganis #3531
Conversation
Marking this as a draft until we find the latest version of swc settings that are compatible with a broader set of javascript like #3539 |
This PR also fixes a few caching issues with manganis/the CLI:
|
Caching the fullstack asset folder with a long reset is problematic for legacy assets which are placed in the folder without a hashed name. That change is pulled out of this PR in favor of a followup that somehow communicates which assets are cached and not |
This PR uses the manganis bundling system to hash and optimize the assets wasm bindgen generates. It also expands cli-opt to support bundling multiple js files together which is useful for the javascript files wasm bindgen outputs.
Requests for hello world app with old version of DX:
Requests for hello world app with new version of DX:
Closes #3350
Closes #3339
Closes #3277
Closes #2124