Skip to content

Conversation

@fi3ework
Copy link
Member

Summary

wasmLoaing can be correctly inferred by Rspack. it should not be determined by module format.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings July 30, 2025 06:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the automatic determination of the wasmLoading configuration option by removing explicit settings and allowing Rspack to infer the correct value based on the target environment rather than the module format.

  • Removes hardcoded wasmLoading values from format configuration
  • Updates test snapshots to reflect the removal of explicit wasmLoading settings

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/core/src/config.ts Removes explicit wasmLoading configuration for both ESM and CommonJS formats
packages/core/tests/snapshots/config.test.ts.snap Updates test snapshots to reflect removed wasmLoading properties

@Timeless0911 Timeless0911 merged commit a6ec086 into main Jul 30, 2025
15 checks passed
@Timeless0911 Timeless0911 deleted the wasm-l branch July 30, 2025 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants