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
As of today warnings are printed out with a console.logcall
This is not ideal for situations, where users might want to do something with the warnings, e.g. pass them down to Webpack or apply some additional formatting.
I don't really have a good idea on how exactly the API for this could look, but it would improve elm-community/elm-webpack-loader
I'm pretty open to the idea of working on a PR for this, I just need some guidance in terms of API design(if the suggestion above makes sense) 🙂
The text was updated successfully, but these errors were encountered:
halfzebra
changed the title
Add a way to retrieve the warnings
Add a way to retrieve the warnings from Elm Compiler
Feb 19, 2018
As of today warnings are printed out with a
console.log
callThis is not ideal for situations, where users might want to do something with the warnings, e.g. pass them down to Webpack or apply some additional formatting.
I don't really have a good idea on how exactly the API for this could look, but it would improve elm-community/elm-webpack-loader
I'm pretty open to the idea of working on a PR for this, I just need some guidance in terms of API design(if the suggestion above makes sense) 🙂
The text was updated successfully, but these errors were encountered: