This repository was archived by the owner on Dec 19, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 188
Found a way to emit messages (error/warning) #64
Labels
Comments
This was referenced Feb 2, 2015
Closed
Since this "feature" will not bring any breaking change, I am going to release 1.0 without that because I think it's better to bring new APIs first in PostCSS. |
postcsss 4.1 is out with the requested API. We "just need" to update all plugin that output warning and stuff. |
Let's GO |
This was referenced Apr 3, 2015
Closing in favor of #88 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently some postcss plugins report some errors/warning using
console
.When you got something like webpack-dev-server, it's just horrible to debug.
Sometimes you don't even see those messages, not sure why.
We need to add to all plugins that throw messages the ability to adjust what to use to handle errors & warnings.
We can
emitWarning
&emitError
(default toconsole.warn
&console.error
)Ideas?
The text was updated successfully, but these errors were encountered: