next.js
4be2fb18 - Turbopack: font weight sorting feedback (#72109)

Commit
1 year ago
Turbopack: font weight sorting feedback (#72109) This addresses @bgw’s feedback for #72043: - Defers cloning https://github.com/vercel/next.js/pull/72043#discussion_r1821815860 - Uses a `BTreeSet` in `FontAxesWeights::Fixed` to ensure it’s always sorted, rather than sorting at url-generation-time https://github.com/vercel/next.js/pull/72043#discussion_r1821821359 - `RcStr` `.to_owned()` -> `.clone()` Test Plan: Unit tests Co-authored-by: Benjamin Woodruff <benjamin.woodruff@vercel.com> Closes PACK-3360 Co-authored-by: Benjamin Woodruff <benjamin.woodruff@vercel.com>
Author
Parents
Loading