Skip to content

Conversation

@robert-j-webb
Copy link

@robert-j-webb robert-j-webb commented Jan 30, 2026

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.

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

@nextjs-bot nextjs-bot added tests Turbopack Related to Turbopack with Next.js. labels Jan 30, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Jan 30, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing robert-j-webb:canary (d392602) with canary (af18c32)

Summary

✅ 17 untouched benchmarks
⏩ 3 skipped benchmarks1

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

…pports

Fixes vercel#88533

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.
@robert-j-webb robert-j-webb changed the title [Turbopack] Include CSS Layer attributes, including URL, Media and Supports Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Turbopack Related to Turbopack with Next.js.

2 participants