postcss / postcss-use

Enable PostCSS plugins directly in your stylesheet.
MIT License
153 stars 11 forks source link

How to send nested key/value options to plugins #41

Open argyleink opened 3 years ago

argyleink commented 3 years ago

I'm on codepen trying to customize the features of my preset-env plugin use. I can send stage fine, but I'm not sure how to send the features object key and value.

@use postcss-preset-env {
  stage: 0,
  features: {
    "logical-properties-and-values": false
  }
} 

I have the feature disabled in a local postcss setup, so i know the key/value is good. But on Codepen, it seems to be thrown away, or I can't figure out how to get the syntax right.

Help?

EllyLoel commented 1 year ago

Also facing basically the exact same issue, trying to turn of a feature of preset-env in Codepen with no luck.