Skip to content

fix(modern-module): remove extra import statement for star reexport#8457

Merged
fi3ework merged 2 commits intomainfrom
clean-reexport
Nov 18, 2024
Merged

fix(modern-module): remove extra import statement for star reexport#8457
fi3ework merged 2 commits intomainfrom
clean-reexport

Conversation

@fi3ework
Copy link
Copy Markdown
Member

Summary

Fix web-infra-dev/rslib#429.

Previously given a module like this:

export * from "external1"

the diff of the output after this PR will be

- import * as __WEBPACK_EXTERNAL_MODULE_external1__ from "external1";
export * from "external1"

Checklist

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

@github-actions github-actions bot added team The issue/pr is created by the member of Rspack. release: bug fix release: bug related release(mr only) labels Nov 18, 2024
@netlify
Copy link
Copy Markdown

netlify bot commented Nov 18, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit afe52f7
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/673af46dc6a49e0008eb03dc

@fi3ework fi3ework enabled auto-merge (squash) November 18, 2024 08:26
@fi3ework fi3ework merged commit 0c15790 into main Nov 18, 2024
@fi3ework fi3ework deleted the clean-reexport branch November 18, 2024 08:55
@h-a-n-a h-a-n-a mentioned this pull request Nov 19, 2024
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.

export * from external module will introduce unnecessary import statement.

2 participants