Spaces:
Runtime error
Runtime error
Download @omniroute/opencode-plugin/tsup.config.ts from YOGESHJIO5770/ai_api: direct link, hf CLI and curl.
- Browser
- Download file 552 Bytes
-
https://huggingface.co/spaces/YOGESHJIO5770/ai_api/resolve/main/%40omniroute/opencode-plugin/tsup.config.ts
- Command line
-
hf download hf://spaces/YOGESHJIO5770/ai_api/@omniroute/opencode-plugin/tsup.config.ts
-
curl -L -o tsup.config.ts https://huggingface.co/spaces/YOGESHJIO5770/ai_api/resolve/main/%40omniroute/opencode-plugin/tsup.config.ts
552 Bytes
| import { defineConfig } from "tsup"; | |
| export default defineConfig({ | |
| entry: ["src/index.ts"], | |
| format: ["esm"], | |
| dts: true, | |
| clean: true, | |
| sourcemap: false, | |
| splitting: false, | |
| treeshake: false, | |
| target: "node22", | |
| outDir: "dist", | |
| minify: false, | |
| cjsInterop: false, | |
| // Bundle runtime deps so the .tgz / npm install is self-contained. | |
| // `zod` is required at runtime by the options schema and would otherwise | |
| // need a peer install when the plugin is loaded directly from a file path | |
| // in opencode.jsonc. | |
| noExternal: ["zod"], | |
| }); | |