Skip to content

fix: node async wasm loader generation#19210

Merged
alexander-akait merged 1 commit into
webpack:mainfrom
ashi009:cl/node-wasm-loader-module-aware
Feb 10, 2025
Merged

fix: node async wasm loader generation#19210
alexander-akait merged 1 commit into
webpack:mainfrom
ashi009:cl/node-wasm-loader-module-aware

Conversation

@ashi009

@ashi009 ashi009 commented Feb 10, 2025

Copy link
Copy Markdown
Contributor

node async wasm loader was incorrectly using output.environment.module
to determine if import.meta statement should be used. Which may not match
the output flavor defined by output.module.

What kind of change does this PR introduce?
bugfix

Did you add tests for your changes?
no

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?
no

Fixes #19209

node async wasm loader was incorrectly using output.environment.module
to determine if import statement should be used. Which may not match
the output flavor defined by output.module.
@linux-foundation-easycla

linux-foundation-easycla Bot commented Feb 10, 2025

Copy link
Copy Markdown

CLA Signed


The committers listed above are authorized under a signed CLA.

@alexander-akait alexander-akait merged commit a1edb20 into webpack:main Feb 10, 2025
@ashi009 ashi009 deleted the cl/node-wasm-loader-module-aware branch February 10, 2025 23:57
@ashi009

ashi009 commented Feb 11, 2025

Copy link
Copy Markdown
Contributor Author

@alexander-akait may I ask when this will be released?

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

Successfully merging this pull request may close these issues.

node async wasm loader generates code using import.meta for commonjs

2 participants