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

fix: wasm loading runtime on node-18 #3197

Merged
merged 3 commits into from
May 18, 2023
Merged

fix: wasm loading runtime on node-18 #3197

merged 3 commits into from
May 18, 2023

Conversation

ahabhgk
Copy link
Collaborator

@ahabhgk ahabhgk commented May 17, 2023

Related issue (if exists)

Summary

馃 Generated by Copilot at 6b63094

This pull request enhances the rspack_plugin_wasm crate to support streaming compilation of WebAssembly modules. It adds a new parameter and a new feature to the AsyncWasmLoadingRuntimeModule struct and updates its constructor and code generation. This feature can improve performance for modules fetched from the public path.

Walkthrough

馃 Generated by Copilot at 6b63094

  • Add streaming support for WebAssembly modules fetched from public path (link, link, link, link)
  • Disable streaming support for WebAssembly modules generated from files (link)

@ahabhgk ahabhgk requested a review from h-a-n-a as a code owner May 17, 2023 12:52
@ahabhgk ahabhgk requested a review from Boshen May 17, 2023 12:53
@github-actions github-actions bot added release: bug fix team The issue/pr is created by the member of Rspack. labels May 17, 2023
@Boshen
Copy link
Contributor

Boshen commented May 17, 2023

Broken on 16 馃ゲ

@Boshen
Copy link
Contributor

Boshen commented May 18, 2023

I'll merge once my node18 branch passes (rebased on top of your branch).

@Boshen Boshen added this pull request to the merge queue May 18, 2023
Merged via the queue into main with commit 3460124 May 18, 2023
12 checks passed
@Boshen Boshen deleted the fix-wasm-node18 branch May 18, 2023 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants