Curated, multi-source torrent search and download from the terminal: concurrent search across built-in sources with streamed, source-tagged results; a download-only webtorrent engine with true pause/resume and restart recovery; magnet paste; and a calm Ink + React TUI. No indexer server, no setup.
Showing the changes to tsup.config.ts (1 of 71 files). Show all
Unified · Split
| @@ -0,0 +1,19 @@ | ||
| 1 | +import { defineConfig } from "tsup"; | |
| 2 | + | |
| 3 | +export default defineConfig({ | |
| 4 | + entry: ["src/index.tsx"], | |
| 5 | + format: ["esm"], | |
| 6 | + target: "node22", | |
| 7 | + platform: "node", | |
| 8 | + banner: { js: "#!/usr/bin/env node" }, | |
| 9 | + clean: true, | |
| 10 | + sourcemap: false, | |
| 11 | + dts: false, | |
| 12 | + splitting: false, | |
| 13 | + shims: false, | |
| 14 | + minify: true, | |
| 15 | + esbuildOptions(options) { | |
| 16 | + options.jsx = "automatic"; | |
| 17 | + options.jsxImportSource = "react"; | |
| 18 | + }, | |
| 19 | +}); | |