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
Tsup is so fast that I would like to run it via JS API without wasting time on fork/exec.
At the same time, we use a monorepo and therefore run the build of several packages in parallel.
And here is where the problem occurs - tsup uses process.cwd() when building without the ability to override the working directory, so points 1 and 2 cannot be implemented simultaneously.
Can we add cwd option to allow this use case? Some components already have this functional:
And here is where the problem occurs - tsup uses process.cwd() when building without the ability to override the working directory, so points 1 and 2 cannot be implemented simultaneously.
Can we add
cwd
option to allow this use case? Some components already have this functional:absWorkingDir
in esbuildI may try to experiment a little and if everything goes well make a pull request if the general consensus is that this feature is needed.
The text was updated successfully, but these errors were encountered: