You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
cssnext is defined as a postcss plugin (minor change)
cssnext(options) return a postcss plugin (current behavior)
cssnext(options).process(string) => result should be the implemented & promoted (new interface)
maybe we can keep cssnext(string, options) api to avoid a major breaking change (current behavior) - not sure it's a good idea because postcss.plugin might add more change in the future. @ai any comment on that ?
This way, people might use directly cssnext (without braces) as a postcss plugin when postcss/postcss#402 is fixed.
Not a big deal, but I think the reusable instance is a good idea.
Depending if the current api (string, options) can be kept, we might push this as a minor change or as a major bump (2.x)
The text was updated successfully, but these errors were encountered:
You cannot say that var css = cssnext(string, options) is complicated versus cssnext(options).process(string).css or cssnext(options).process(string).then(result) { result.css ...}). That's not true ;)
We should follow cssnano api
This way, people might use directly cssnext (without braces) as a postcss plugin when postcss/postcss#402 is fixed.
Not a big deal, but I think the reusable instance is a good idea.
Depending if the current api (string, options) can be kept, we might push this as a minor change or as a major bump (2.x)
The text was updated successfully, but these errors were encountered: