Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Use CanIUse data and browserslist to enable/disable plugins #125

Closed
ai opened this issue May 15, 2015 · 3 comments
Closed

Use CanIUse data and browserslist to enable/disable plugins #125

ai opened this issue May 15, 2015 · 3 comments

Comments

@ai
Copy link

ai commented May 15, 2015

Stylecow vs. PostCSS text:

The plugin of the previous example (postcss-vmin) only makes sense if we want to add support for explorer 9. In postcss, you have to decide which plugins you have to use, according with the browser support you need (with the exception of some plugins like autoprefixer). In stylecow, the plugins can have the browser support, so, if you use the vmin plugin but your minimum suport is explorer 10, this plugin wont be executed.

If cssnext will use Can I Use as Autoprefixer we will bit this feature.

@MoOx
Copy link
Owner

MoOx commented May 15, 2015

@MoOx MoOx closed this as completed May 15, 2015
@ai
Copy link
Author

ai commented May 15, 2015

Awesome!

Second question: does plugins order matter in postcss-import?

@MoOx
Copy link
Owner

MoOx commented May 15, 2015

postcss-import is executed before anything else, so I don't see any possible issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants