next.js
7c9be45a - [Turbopack] Include CSS URL attributes, including Layer, Media and Supports (#89300)

Commit
29 days ago
[Turbopack] Include CSS URL attributes, including Layer, Media and Supports (#89300) Note that this is my first contribution in Rust, so let me know if I missed anything idiomatic or if there is a particularly better way to do something. Also, I did not use AI to create this at all, although I did chat a bit to try to wrap my head around types. - Related issues linked using Fixes https://github.com/vercel/next.js/issues/88533 - Tests added. - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md Summary of changes: Adds support for all of the attributes of `@import` for Turbopack, by modifying the turbopack-css package, including Layer, Media and Supports. [W3 Reference](https://www.w3.org/TR/css-cascade-5/#at-import) --------- Co-authored-by: JJ Kasper <jj@jjsweb.site>
Author
Parents
Loading