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's good to know that there's a use case for this. I will consider adding something like this to the official API. Unfortunately it's not possible to benefit from the better performance of the service-oriented API synchronously because it uses streams for communication and stream I/O is asynchronous in node.
It's straightforward to use esbuild in node in a synchronous manner, but you're going to have to incur the overhead of creating a new process every time. Depending on what you're doing, that might be fine. Here's an example of how you might do this, which you can use now without official API support:
The text was updated successfully, but these errors were encountered: