@lightningcss

An extremely fast CSS parser, transformer, bundler, and minifier.

Joined August 2022
Lightning CSS retweeted
This morning I built a test harness for @lightningcss to run the Web Platform Tests – the same tests used by browser engines. It extracts over 24,000 CSS parsing test cases, and verifies that Lightning CSS can correctly parse, transform, and minify each one. Then it takes the compiled CSS and verifies that it still passes the original test in a browser. Also built this cool dashboard to dive into the test failures. This will be super helpful for discovering edge cases and missing features! Already got some work to do. 😅
11
7
117
7,273
Lightning CSS retweeted
Looks like Vite 8 is using Lightning CSS as the default CSS minifier! Most next-generation build tools are now using it, including Turbopack, Rspack, Tailwind, Parcel, Bun (a port), and now Vite. ⚡️
11
13
556
22,980
Lightning CSS retweeted
DevStack™ Lightning CSS v1.30.0 is released! 😀 ⚡️ Updated relative color spec for numbers and percentages ⚡️ Updated nesting spec for pseudo elements and interleaved rules ⚡️ Skip generating unnecessary @​supports ⚡️ Android support ⚡️ ... and more! github.com/parcel-bundler/li…
8
95
6,074
Lightning CSS retweeted
Very excited to see oxvg, a Rust-based alternative to SVGO powered by @lightningcss and other browser-grade components from Servo! Has the potential to be not just faster, but also optimize better. ⚡️ github.com/noahbald/oxvg
4
24
2
271
18,817
Lightning CSS retweeted
⚡️ @lightningcss inside ™
✨ Tailwind CSS v4.0 is here! Huge performance improvements, radically simplified setup experience, CSS-first configuration, modernized P3 color palette, container queries, 3D transforms, expanded gradient APIs, @​starting-style support… …and tons, tons more.
3
2
201
10,684
Lightning CSS retweeted
Just released Lightning CSS v1.29! ⚡️ • Support for View Transitions Level 2 rules, properties, and selectors, with css module scoping • @​font-feature-values • Enable/disable compiling light-dark() • Better media query range output • ...and more! github.com/parcel-bundler/li…
1
7
86
5,306
Lightning CSS retweeted
Released Lightning CSS v1.28! ⚡️ • Option to skip hashing container names in CSS modules • Fixed bugs with calc() minification • Fixed ordering issue for size properties with fallback values • Improved error messages for selectors and CSS modules buff.ly/3C54MYH
3
8
109
8,286
Lightning CSS retweeted
Thanks for the sponsor! Excited to see Rolldown using @lightningcss! ⚡️
We are proud to announce that we now sponsor all key contributors and dependencies of @voidzerodev's projects, which include vite, vitest, rolldown, and oxc. More contributors will be added to the list in the near future! And join @ThePledge of course! github.com/orgs/voidzero-dev…
1
1
80
7,841
Lightning CSS retweeted
Happy new week! New StyleX release v0.8.0 is out now! - new and improved lint rules - many small fixes - introducing lightningcss to our Rollup plugin.
3
2
1
48
12,140
Lightning CSS retweeted
Lightning CSS v1.27.0 is out! ⚡️ Adds a [content-hash] pattern for CSS modules, enabling multiple versions of a library to coexist without conflicts. Implements "pure mode" for CSS modules, which enforces each rule to be locally scoped with at least one id or class selector. Thanks @kdy1dev! Also improves selector parser error messages and fixes some bugs. Thanks to everyone who contributed! 😍 github.com/parcel-bundler/li…
2
9
94
8,023
Lightning CSS retweeted
Just released @lightningcss v1.26.0! ⏵ Support for animation-range properties ⏵ Support for named timeline ranges in @​keyframes ⏵ Error on unsupported :global/:local syntax in CSS modules ⏵ Support for Windows on ARM github.com/parcel-bundler/li…
3
5
77
4,503
Lightning CSS retweeted
Cool milestone: Lightning CSS passed 1 million weekly downloads this week! And that's not even counting Next.js, which compiles its own copy. 📈⚡️
2
6
132
12,398
Lightning CSS retweeted
Lightning CSS v1.25.0 is out! ⚡️ • CSS module options to disable scoping for grid, animation, and other features • Optimizes the `all` shorthand • Support animation-timeline in animation shorthand • Bug fixes for transforms, color, and animations github.com/parcel-bundler/li…
1
12
2
101
25,479
Lightning CSS retweeted
The one with @lightningcss ⚡️
Next.js 14.2 ◆ Turbopack (RC): 99.8% of tests passing for `next dev --turbo` ◆ Build / Production Improvements: Reduced memory usage ◆ Caching Improvements: Configurable client-side cache revalidation ◆ Errors DX: Better hydration mismatch messages nextjs.org/blog/next-14-2
4
1
102
14,751
Lightning CSS retweeted
Want to use light-dark() today across all browsers? Use @lightningcss! ⚡️ lightningcss.dev/transpilati…
PREVIOUSLY: separate rulesets for light and dark NOW: one ruleset with `light-dark()`
2
7
1
116
13,846
Lightning CSS retweeted
Nice to see Lightning CSS making its way into more tools! Those are some great performance improvements too: 70x faster CSS compilation, 30% faster builds overall. ⚡️
Announcing Rsbuild v0.5, an significant milestone! - ⚡️ Support for Lightning CSS - 🌟 Support for customize server - 🍦 Support for custom minify options - 🍭 Refactor the SVGR plugin - 💡 Most APIs have reached stable rsbuild.dev/community/releas…
2
9
90
14,578
Lightning CSS retweeted
Big day for Lightning CSS! First Tailwind v4, and now Next.js. 🎉
1
22
1
231
22,378
Lightning CSS retweeted
Just released Lightning CSS v1.24.0! ⚡️ Support for compiling the light-dark() color function, enabling simple OS + programmatic dark mode toggles! 🌘 Also improves minification for custom properties, @​keyframes rules, system colors, and more! 💪 github.com/parcel-bundler/li…
5
31
2
289
38,667
Lightning CSS retweeted
The next version of Lightning CSS will be able to down-level the light-dark() function using some CSS variable fallback tricks! This lets you implement dark mode without writing any media queries, and programmatically switch themes just by changing the `color-scheme` property. 🤯
3
7
3
131
18,199