fix: restore browser targets#973
Conversation
|
@QDyanbing is attempting to deploy a commit to the React Component Team on Vercel. A member of the Team first needs to authorize it. |
|
Warning Review limit reached
More reviews will be available in 22 minutes and 35 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (28)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates dependency versions for @rc-component/util and @rc-component/father-plugin in package.json, targets IE 11 in .fatherrc.js, and corrects the locale import paths in README.md. It also refactors numerous imports across source and test files to import directly from the package roots of @rc-component/util and @rc-component/trigger instead of using deep paths. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #973 +/- ##
=======================================
Coverage 98.81% 98.81%
=======================================
Files 65 65
Lines 2695 2695
Branches 744 724 -20
=======================================
Hits 2663 2663
Misses 29 29
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| plugins: ['@rc-component/father-plugin'], | ||
| targets: { | ||
| ie: 11, | ||
| }, |
Summary
targets: { ie: 11 }.esandliboutput for older webpack parsers.Root Cause
@rc-component/father-plugin@2.2.0defaultstargetsto{ chrome: 85 }, which is newer than the previous Father browser default. Without an explicit override, the published output can keep syntax that older webpack parsers cannot parse.Verification
npm run compileacorn@6parses all generatedesandlibJavaScript files after the fixnpm test -- --runInBand