-
-
Notifications
You must be signed in to change notification settings - Fork 757
fix(browser): fix @rspack/browser failure after pure esm transformation
#12781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for rspack-v2 canceled.
|
@rspack/browser failure after pure esm transformation
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 5 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 react-10kPath:
📦 Download Diff Report: react-10k Bundle Diff 📁 react-1kPath:
📦 Download Diff Report: react-1k Bundle Diff 📁 react-5kPath:
📦 Download Diff Report: react-5k Bundle Diff 📁 ui-componentsPath:
📦 Download Diff Report: ui-components Bundle Diff 📁 romePath:
📦 Download Diff Report: rome Bundle Diff Generated by Rsdoctor GitHub Action |
📦 Binary Size-limit
🎉 Size decreased by 322.13KB from 47.99MB to 47.68MB (⬇️0.66%) |
Merging this PR will not alter performance
Comparing Footnotes
|
Summary
Fixes
@rspack/browserfailure after pure ESM transformation.rslib.browser.config.mtstorslib.browser.config.tscreateRequireusages from the code, sincecreateRequireis not available in browser environment.packages/rspack-browser/package.jsonexports to use./dist/index.js.Related links
Checklist