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
It would be useful to have a way to catch the warnings and errors to operate on them. At the moment we can't pass a stdout stream to the esbuild function, so it's difficult to redirect it anywhere.
The text was updated successfully, but these errors were encountered:
I'm assuming you are talking about the JavaScript API. This is possible by setting logLevel: 'silent' and then using the returned warnings and errors properties. If you're talking about the CLI instead, they are printed to stderr instead of stdout.
It would be useful to have a way to catch the warnings and errors to operate on them. At the moment we can't pass a stdout stream to the
esbuild
function, so it's difficult to redirect it anywhere.The text was updated successfully, but these errors were encountered: