Conversation
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to The plugin now preserves a single minimizer’s source map while retaining composition for chains; no merge-blocking risk is identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 ESLint
src/minify.jsESLint failed to execute (timeout). 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 |
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #746 +/- ##
==========================================
- Coverage 97.79% 87.95% -9.84%
==========================================
Files 5 5
Lines 1634 1636 +2
Branches 620 622 +2
==========================================
- Hits 1598 1439 -159
- Misses 36 157 +121
- Partials 0 40 +40 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
With a single minimizer the plugin composed its map with the input map, then handed both to webpack's
SourceMapSource, which composes that same level again, so every mapped asset paid for a redundant decode and re-encode of its map.The minimizer's map is now used as returned and composition is left to
SourceMapSource; a chain of minimizers still composes between steps.What kind of change does this PR introduce?
perf
Did you add tests for your changes?
No
Does this PR introduce a breaking change?
No
If relevant, what needs to be documented once your changes are merged or what have you already documented?
n/a
Use of AI
Yes
Summary by CodeRabbit