I can only temporarily use execa
to call it through the command line.
❯ npx vitest run tsup
RUN v0.34.1
node:internal/event_target:1016
process.nextTick(() => { throw err; });
^
Error: Unexpected message on Worker: {
type: 'log',
text: '\x1B[34mCLI\x1B[39m Using tsconfig: tsconfig.json'
}
Emitted 'error' event on Tinypool instance at:
at EventEmitterReferencingAsyncResource.runInAsyncScope (node:async_hooks:203:9)
import { build } from 'tsup';
import { it } from 'vitest';
it('tsup build', async () => {
await build({
entry: ['src/index.ts'],
});
});
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too