Add possibility to disable the vendor prefixer (Vite) #77
Labels
feature: proposal 💬
New feature proposal that needs to be discussed
needs: triage 🏷
Issue needs to be checked and prioritized
Describe the feature
Adding the option to disable vendor prefixes for the generated css. The default stylis-preprocessor always adds vendor prefixes to the css.
Motivation
Serve less CSS. AMP (accelerated mobile pages) have a limit to the css they are allowed to contain. Removing vendor prefixes was one way we reduced our css with styled component.
Possible implementations
You already did a great job making everything flexible and almost everything is already in place. You just need to accept the flag
prefixer
in the plugin, pass it in to the transform function and align some typesThe text was updated successfully, but these errors were encountered: