styled-jsx
styled-jsx copied to clipboard
Remove duplicates in "auto vendor prefixes"
I would like to request feature.
Currently sometimes you already have vendor prefixes in your css code. styled-jsx dosn't check if they were already declared and this way we have the same properties in output multiple times. Let me show you and example.


Expected behaviour - it would check if there is already declared vendor prefix before adding it.
I understand you may offer to disable this function in my case - but what if I need it? Let's say I already declared the prefixes for flex, but didn't declare other prefixes. In such case I still need this function to be enabled.
this is handled by the css processor https://github.com/thysultan/stylis.js can you open an issue on that repo?
this is handled by the css processor https://github.com/thysultan/stylis.js can you open an issue on that repo?
can change to this package? https://www.npmjs.com/package/@vue/component-compiler-utils
compileStyle(StyleCompileOptions)
because stylis seem not maintenance