openapi-ts icon indicating copy to clipboard operation
openapi-ts copied to clipboard

Improve tsConfigPath behavior

Open mrlubos opened this issue 8 months ago • 2 comments

Related to https://github.com/hey-api/openapi-ts/issues/478

Resolve path in config init + debug what's going wrong in the related issue

mrlubos avatar May 06 '25 10:05 mrlubos

Not sure if it is directly related, but we tried the latest version, 0.67.1, and now have ".js" appended to the generated client folder with bundle: true, Previously we added .cjs"; to from "./client/index"; as a workaround.

Image

Image

mariusch avatar May 06 '25 13:05 mariusch

@mariusch Yeah. Thanks for reporting! You can restore the previous behaviour with output.tsConfigPath: 'off' in the meantime

mrlubos avatar May 06 '25 13:05 mrlubos