@parcel/css
1.14.0 · 8 Sep 2022MPL-2.020.3k / weekRepositoryHomepagenpmAtom feed
Latest releases
All 33 releases1.14.0
8 Sep 2022Add types for wasm init default export – @deckchairlabs
Match the spec so that feature-* in
@font-facetech()becomes plural – @yisiblCSS-wide keywords and none in
@keyframescannot remove quotes – @yisibl
We are excited to announce that Parcel CSS is now called Lightning CSS! ⚡ This new name makes it clear that the project can be used outside of Parcel, with other build tools, or even standalone.
We also have a brand new website showcasing some of the features, along with the WASM-based playground at lightningcss.dev. This will expand over time to include more documentation and examples.
Going forward, new releases will be under the
lightningcssnpm package and Rust crate. The@parcel/csspackage still exists on npm for backward compatibility, but now re-exportslightningcss. Theparcel_cssRust crate is deprecated - please uselightningcssgoing forward.New features
This release also includes several new features, including major improvements to the bundler.
Custom JS resolver
The node bindings now include a new
bundleAsyncfunction in addition to the existingbundlefunction.bundleAsyncruns the bundler asynchronously in a background thread, and returns a promise that lets you know when it has completed. In addition,bundleAsyncsupports custom JavaScript-based resolvers, which allow you to customize the resolution behavior for@importspecifiers, and provide the contents of files from a source other than the file system.let {code, map} = await css.bundleAsync({ filename: 'style.css', minify: true, resolver: { read(filePath) { return fs.readFileSync(filePath, 'utf8'); }, resolve(specifier, from) { return path.resolve(path.dirname(from), specifier); } } });Note that providing a resolver can negatively affect performance, so only do so when you need to customize things.
CSS modules bundling
Dependencies in CSS modules are now also bundled. For example, the
composesproperty allows you to reference another file. These will now be bundled, and the resolved class name will be included in the output JSON as well.Bug fixes
Add types for wasm init default export – @deckchairlabs
Match the spec so that feature-* in
@font-facetech()becomes plural – @yisiblCSS-wide keywords and none in
@keyframescannot remove quotes – @yisibl
1.13.1
2 Sep 20221.13.0
22 Aug 2022
Notes older than 90 days are read on the Releases tab.
Dependency tracking
Know when your own dependencies move
This page watches @parcel/css. inlinr reads your package.json and keeps the same watch on every dependency you declare, then tells you only what needs you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 19 Nov 2026. Releases and advisories last read 19 Nov 2026.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.