chore(js-sdk): Compatible with nodenext (#1667)

This commit is contained in:
zWing
2025-08-09 08:05:50 +08:00
committed by GitHub
parent 83f4e8e156
commit 2f4291672b
11 changed files with 35 additions and 32 deletions

View File

@@ -12,7 +12,10 @@ await $`bun dev generate > ${dir}/openapi.json`.cwd(path.resolve(dir, "../../ope
await createClient({
input: "./openapi.json",
output: "./src/gen",
output: {
path: "./src/gen",
tsConfigPath: path.join(dir, 'tsconfig.json')
},
plugins: [
{
name: "@hey-api/typescript",