Download @omniroute/opencode-plugin/tsup.config.ts from rais133/omniroute: direct link, hf CLI and curl.
- Browser
- Download file 558 Bytes
-
https://huggingface.co/spaces/rais133/omniroute/resolve/main/%40omniroute/opencode-plugin/tsup.config.ts
- Command line
-
hf download hf://spaces/rais133/omniroute/@omniroute/opencode-plugin/tsup.config.ts
-
curl -L -o tsup.config.ts https://huggingface.co/spaces/rais133/omniroute/resolve/main/%40omniroute/opencode-plugin/tsup.config.ts
558 Bytes
| import { defineConfig } from "tsup"; | |
| export default defineConfig({ | |
| entry: ["src/index.ts"], | |
| format: ["esm", "cjs"], | |
| dts: true, | |
| clean: true, | |
| sourcemap: false, | |
| splitting: false, | |
| treeshake: false, | |
| target: "node22", | |
| outDir: "dist", | |
| minify: false, | |
| cjsInterop: true, | |
| // 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"], | |
| }); | |