LightningCSS
No security coverage
This module allows to use LightningCSS to compile styles from themes and modules.
To use it simply put:
lightningcss: true
into your themes or modules *.info.yml
Browserlist configuration is respected (.browserlistrc, package.json). Enviroments are not supported.
The module uses the lightningcss cli with command:
lightningcss --minify --bundle --nesting --targets="last 2 Chrome versions, last 2 Edge versions, last 2 ff versions, last 2 Safari versions, last 2 ios_saf versions, last 2 and_ff versions, last 2 and_chr versions"
Additional Requirements
LightningCSS requires libc. The modules tries to detect it.
You need to configure your composer.json to put npm-assets into /libraries/${name}:
"extra": {
"installer-types": ["npm-asset"],
"installer-paths": {
"web/libraries/{$name}": [
"type:npm-asset",
],
}
}
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.