Skip to content

fix: import module entry dependency resolve options#10070

Merged
LingyuCoder merged 3 commits intomainfrom
fix/import-module-resolve-options
Apr 17, 2025
Merged

fix: import module entry dependency resolve options#10070
LingyuCoder merged 3 commits intomainfrom
fix/import-module-resolve-options

Conversation

@LingyuCoder
Copy link
Copy Markdown
Contributor

Summary

fix #8447

The import module entry dependency's category is loaderImport, and it is missed in by depenedency of default resolve options. This make the resolve options inconsistent with other modules.

Checklist

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

@LingyuCoder LingyuCoder requested review from JSerFeng and Copilot April 17, 2025 09:13
@github-actions github-actions bot added release: bug fix release: bug related release(mr only) team The issue/pr is created by the member of Rspack. labels Apr 17, 2025
Copy link
Copy Markdown
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.

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

Comments suppressed due to low confidence (1)

tests/webpack-test/configCases/concatenate-modules/import-module/test.filter.js:1

  • The removal of this test filter file may reduce test coverage for the import module dependency handling. Please ensure that alternative tests are in place to validate the new resolve option for 'loaderImport'.
-module.exports = () => {

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 17, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 63d5c5b
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/6800d3f8a68f680008c1f7d0

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 17, 2025

CodSpeed Performance Report

Merging #10070 will not alter performance

Comparing fix/import-module-resolve-options (63d5c5b) with main (d6d50dd)

Summary

✅ 11 untouched benchmarks

@LingyuCoder LingyuCoder enabled auto-merge (squash) April 17, 2025 10:48
@LingyuCoder LingyuCoder merged commit 886a933 into main Apr 17, 2025
27 checks passed
@LingyuCoder LingyuCoder deleted the fix/import-module-resolve-options branch April 17, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: bug fix release: bug related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Panic when build tests/webpack-test/configCases/concatenate-modules/import-module

3 participants