postcss / postcss-custom-properties

Use Custom Properties in CSS
https://postcss.github.io/postcss-custom-properties
MIT License
597 stars 77 forks source link

Force transformation and dont preserve? #227

Closed badtant closed 3 years ago

badtant commented 3 years ago

Hi,

I'm using postcss-custom-properties via postcss-preset-env. According to my browserlist setup it's safe to keep the custom properties and no transformation is needed.

Is there some way I can force a transformation anyway and not preserve?

Thanks

Semigradsky commented 3 years ago

@badtant You can disable specific feature: https://github.com/csstools/postcss-preset-env#features

Semigradsky commented 3 years ago

But postcss-preset-env should automatically disable features based on browserlist config. It can be bug in postcss-preset-env.