mirror of
https://github.com/baairon/torlink.git
synced 2026-07-08 18:28:22 +02:00
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.
20 lines
404 B
TypeScript
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";
|
|
},
|
|
});
|