mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Fix the build
This commit is contained in:
parent
7b0103901f
commit
22288a2b1e
1 changed files with 12 additions and 2 deletions
|
|
@ -11,8 +11,18 @@ export default defineConfig({
|
|||
banner: {
|
||||
js: "#!/usr/bin/env node",
|
||||
},
|
||||
// Bundle workspace packages that export TypeScript
|
||||
noExternal: ["@roo-code/core", "@roo-code/core/cli", "@roo-code/types", "@roo-code/vscode-shim"],
|
||||
// Bundle workspace packages and ESM-only npm dependencies to create a self-contained CLI
|
||||
noExternal: [
|
||||
// Workspace packages
|
||||
"@roo-code/core",
|
||||
"@roo-code/core/cli",
|
||||
"@roo-code/types",
|
||||
"@roo-code/vscode-shim",
|
||||
// ESM-only npm dependencies that need to be bundled
|
||||
"@agentclientprotocol/sdk",
|
||||
"p-wait-for",
|
||||
"zod",
|
||||
],
|
||||
external: [
|
||||
// Keep native modules external
|
||||
"@anthropic-ai/sdk",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue