fix(pack): script external export compitable#2828
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the runtime logic for external modules to use namespace objects and modifies script loading to use an unconditional cross-origin assignment. It also adds jszip as an external dependency and updates the next.js subproject. Feedback suggests that the unconditional cross-origin assignment could lead to incorrect CORS behavior and that for...in loops used for module property copying should be replaced with safer alternatives like Object.keys to avoid prototype pollution.
📊 Performance Benchmark Report (with-antd)Utoopack Performance ReportReport ID: Executive Summary
Build Phase TimelineShows when each build phase is active and how much CPU it consumes.
Workload Distribution by Diagnostic Tier
Top 20 Tasks by Self-TimeSelf-time is the exclusive duration: time spent in the task itself, not in sub-tasks.
Critical Path AnalysisThe longest sequential dependency chains that determine wall-clock time.
Batching CandidatesHigh-volume tasks dominated by a single parent. If the parent can batch them,
Duration Distribution
Action Items
Report generated by Utoopack Performance Analysis Agent |
Summary
update from: utooland/next.js#141
Test Plan
updated