mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
22 lines
495 B
TypeScript
22 lines
495 B
TypeScript
import { defineConfig } from "tsup"
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts"],
|
|
format: ["esm"],
|
|
dts: true,
|
|
clean: true,
|
|
sourcemap: true,
|
|
target: "node20",
|
|
platform: "node",
|
|
banner: {
|
|
js: "#!/usr/bin/env node",
|
|
},
|
|
// Bundle these workspace packages that export TypeScript.
|
|
noExternal: ["@roo-code/types", "@roo-code/vscode-shim"],
|
|
external: [
|
|
// Keep native modules external.
|
|
"@anthropic-ai/sdk",
|
|
"@anthropic-ai/bedrock-sdk",
|
|
"@anthropic-ai/vertex-sdk",
|
|
],
|
|
})
|