postcss / postcss-custom-properties

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

Force transformation and dont preserve? #227

Closed badtant closed 4 years ago

badtant commented 4 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 4 years ago

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

Semigradsky commented 4 years ago

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