Registry / devops / lightningcss-cli-win32-x64-msvc

lightningcss-cli-win32-x64-msvc

JSON →
library1.32.0jsnpmunverified

Platform-specific binary package for the LightningCSS CLI tool on Windows 64-bit (MSVC). Version 1.32.0. LightningCSS is a high-performance CSS parser, transformer, and minifier written in Rust, used as the default CSS processor in Parcel v2. It offers significant speed improvements over JavaScript-based tools like cssnano and postcss-minimize, with built-in vendor prefixing, nesting, custom media queries, and modern CSS features. Released under the Parcel umbrella, with frequent updates aligned with LightningCSS core releases.

npm install lightningcss-cli-win32-x64-msvc
INSTALL
IMPORT
SIG · LIGHTNINGCSS-CLI-W
L
lightningcss-cli-win32-x64-msvc
devopsjavascriptv1.32.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Minify and bundle CSS files with LightningCSS CLI using npx.

npx lightningcss --minify --bundle --targets '>= 0.25%' --output-dir dist src/*.css
Debug
Known issues
gotchaThis package is a platform-specific binary; use 'lightningcss-cli' (without platform suffix) in package.json dependencies, which automatically picks the correct platform package.
fix
Replace 'lightningcss-cli-win32-x64-msvc' with 'lightningcss-cli' in your dependencies.
affects: >=1.0.0
gotchaThe CLI binary is not available via 'npx lightningcss' if installed as a devDependency; you may need to add a script or use 'npx --package=lightningcss-cli'.
fix
Add to your package.json scripts: {"build:css": "lightningcss ..."}
affects: >=1.0.0
breakingFrom version 1.0.24, the CSS parser API changed: custom at-rules and unknown properties were previously emitted as errors, now they are silently ignored with a warning unless using '--error-on-unrecognized'.
fix
Add '--error-on-unrecognized' to preserve strict mode.
affects: >=1.0.24
deprecatedThe '--output' flag is deprecated and will be removed in v2. Use '--output-dir' or '--output-file' instead.
fix
Replace '--output' with '--output-dir' or '--output-file'.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Could not find binary for lightningcss CLI. Please ensure that the 'lightningcss-cli' dependency is installed on the target platform.
Installed this platform-specific package directly instead of the meta-package 'lightningcss-cli'.
fix
Run: npm install lightningcss-cli (not the platform suffix package).
Unknown error: process exited with code 3221226505
The .exe binary on Windows may cause issues with certain antivirus software or missing VC++ redistributables.
fix
Install Visual C++ Redistributable for Visual Studio 2015-2022 and add an exception for the binary in your antivirus.
Upgrade
Version history
1.32.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
lightningcss-cli-win32-x64-msvc — npm install lightningcss-cli-win32-x64-msvc · libregistry