Files
torlink/tsup.config.ts
bairon.dev 60d7a9a755 feat: terminal-native torrent discovery TUI
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.
2026-06-27 02:03:19 -04:00

20 lines
404 B
TypeScript

import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.tsx"],
format: ["esm"],
target: "node22",
platform: "node",
banner: { js: "#!/usr/bin/env node" },
clean: true,
sourcemap: false,
dts: false,
splitting: false,
shims: false,
minify: true,
esbuildOptions(options) {
options.jsx = "automatic";
options.jsxImportSource = "react";
},
});