Dynamic require of "child_process" is not supported #1079
Labels
bug 🔥
Something isn't working
prioritized 🚚
This issue has been prioritized and will be worked on soon
Description
An error occurs when the
createClient
API of ESM is called.This change will probably solve the problem, but I'm not sure if it's a good solution.
packages/openapi-ts/tsup.config.ts
evanw/esbuild#1921 (comment)
Reproducible example or configuration
An error occurs when
tsx build.ts
is called. Since the command is set in startCommand, an error should be output as soon as the browser is opened.https://stackblitz.com/edit/hey-api-example-dbtez4?file=build.ts
OpenAPI specification (optional)
No response
System information (optional)
The text was updated successfully, but these errors were encountered: