It API choice allows you to establish the working index to make use of towards the generate
They normally defaults to the current working listing of the process you’re playing with to call esbuild’s API. The functional index can be used of the esbuild for many some other anything as well as solving relative pathways offered just like the API options to absolute routes and you may fairly-printing natural pathways since relative routes from inside the diary messages. Information on how so you can override it:
#JS-certain information
The fresh new node-dependent JS API comes in one another synchronous and you may asynchronous types, for every single with different tradeoffs. It is important to know the differences to pick the correct one for the state: