swc-project / swc

Rust-based platform for the Web
https://swc.rs
Apache License 2.0
30.93k stars 1.21k forks source link

preset-env for CSS #4495

Open petamoriken opened 2 years ago

petamoriken commented 2 years ago

Describe the feature

Like Babel's preset-env, PostCSS also has preset-env. By adding that feature to swc, CSS, like JS, can anticipate new features based on the specification.

Babel plugin or link to the feature description

https://preset-env.cssdb.org/

Additional context

No response

alexander-akait commented 2 years ago

Yes, it is in roadmap, currently focused on autoprefixer - mostly ported except removing outdated prefixes, but I am working on it