postcss-use icon indicating copy to clipboard operation
postcss-use copied to clipboard

How to send nested key/value options to plugins

Open argyleink opened this issue 5 years ago • 1 comments

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?

argyleink avatar Nov 19 '20 18:11 argyleink

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

EllyLoel avatar May 04 '23 06:05 EllyLoel