fix(pack): add & as escape chunk filename character#2907
Conversation
774a97c to
0436ebd
Compare
There was a problem hiding this comment.
Code Review
This pull request introduces filename escaping for chunks and assets to handle special characters such as '&', supported by a new snapshot test. The review feedback highlights that the escaping logic is inconsistently applied, specifically missing in default code paths where no filename template is provided, and notes a redundant escaping operation in one instance.
📊 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
Should not bundle
&into output chunk filename, it will cause cdn link failed(character translation)ref pr: utooland/next.js#146
Test Plan
add snapshot test case