chore(js-sdk): Compatible with nodenext (#1667)
This commit is contained in:
parent
83f4e8e156
commit
2f4291672b
11 changed files with 35 additions and 32 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue