refactor(build): switch from esbuild to rolldown
This commit is contained in:
parent
6392cf3b76
commit
bbee38be80
4 changed files with 246 additions and 280 deletions
3
index.ts
3
index.ts
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env node
|
||||
import { parseArgs } from "node:util";
|
||||
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
|
||||
import { streamText } from "ai";
|
||||
|
|
@ -15,10 +16,10 @@ const { values: args, positionals } = parseArgs({
|
|||
n: { type: "boolean" },
|
||||
config: { type: "boolean" },
|
||||
c: { type: "boolean" },
|
||||
v: { type: "boolean" },
|
||||
plain: { type: "boolean" },
|
||||
plainOut: { type: "boolean" },
|
||||
plainErr: { type: "boolean" },
|
||||
v: { type: "boolean" },
|
||||
},
|
||||
strict: true,
|
||||
allowPositionals: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue