lightningcss
lightningcss copied to clipboard
An extremely fast CSS parser, transformer, bundler, and minifier written in Rust.
There are several inconsistencies in Chrome's implementation of defaults in older versions, which can cause filters to behave in opposite ways in older browsers. Perhaps other browsers have similar bugs...
Hi :), The property box-decoration-break (https://developer.mozilla.org/en-US/docs/Web/CSS/box-decoration-break) is supported since Safari 7.1 and Chrome 22, but requires the -webkit prefix on those browsers. As of today, ParcelCSS fails to add this...
[index.css] ```css .foo {} ``` [index.js] ```js import * as styles from "./index.css" const name = "foo" console.log(styles[name]) ``` [package.json] ```json { ..., "@parcel/transformer-css": { "cssModules": true } } ```...
When minifying Tailwind default font with parcel-css and firefox
This is an experiment that adds support for custom (non-standard) at rules to be parsed via the Rust API, allowing something like Tailwind to be implemented. It's accomplished by passing...
```css h1,h2,h3,h1,h3{ color:blue } div.class,div.class,.class{ color:blue } ``` https://parcel-css.vercel.app/#%7B%22minify%22%3Atrue%2C%22nesting%22%3Atrue%2C%22customMedia%22%3Atrue%2C%22cssModules%22%3Afalse%2C%22analyzeDependencies%22%3Afalse%2C%22targets%22%3A%7B%22chrome%22%3A6225920%7D%2C%22source%22%3A%22h1%2Ch2%2Ch3%2Ch1%2Ch3%7B%5Cn%20%20color%3Ablue%5Cn%7D%5Cn%5Cndiv.class%2Cdiv.class%2C.class%7B%5Cn%20%20color%3Ablue%5Cn%7D%22%2C%22unusedSymbols%22%3A%5B%5D%2C%22version%22%3A%22local%22%7D
Would it be possible to support multiple files as input / output using the CLI? PostCSS and ESbuild allow to use a glob pattern for the input and have arguments...
https://github.com/css-modules/css-modules - [x] local selectors by default - [x] local `CustomIdent` (e.g. animation names) - [x] `:local(...)` - [x] `:global(...)` - [ ] `:local` (non-function syntax) - [ ] `:global`...
As the title says when I use parcel build ,code will be compressed and optimize But something strange and unexpected happened For example , the css code `transform: translate3d(0, 0,...
Hi, I'm trying to use `@parcel/css` to bundle CSS files, however there doesn't seem to be a way to provide a custom resolver for `@import` statements, the package appears to...