Skip to content

fix(modern-module): concatenate entry module regardless bail reasons#8165

Merged
fi3ework merged 1 commit intomainfrom
force-concaten-entry
Oct 24, 2024
Merged

fix(modern-module): concatenate entry module regardless bail reasons#8165
fi3ework merged 1 commit intomainfrom
force-concaten-entry

Conversation

@fi3ework
Copy link
Copy Markdown
Member

Summary

If the root module is empty, it will store all bailout reasons of current config

optimization_bailouts.push(self.format_bailout_warning(warning.0, &warning.1));
Previously, this will make root module won't be force concatenated (see new added test case g)

Checklist

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

@fi3ework fi3ework requested a review from JSerFeng October 18, 2024 06:41
@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label Oct 18, 2024
@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Oct 18, 2024
@netlify
Copy link
Copy Markdown

netlify bot commented Oct 18, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit ee78941
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/671925775b2347000888e882

@fi3ework fi3ework force-pushed the force-concaten-entry branch 2 times, most recently from 51d71b2 to ef807ab Compare October 18, 2024 07:20
@fi3ework fi3ework force-pushed the force-concaten-entry branch from ef807ab to ee78941 Compare October 23, 2024 16:33
@fi3ework fi3ework merged commit 7f11c4f into main Oct 24, 2024
@fi3ework fi3ework deleted the force-concaten-entry branch October 24, 2024 03:37
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.

2 participants