Open History to see the last commit
1import { defineConfig } from "tsdown";
2
3export default defineConfig({
4 entry: ["src/index.ts"],
5 format: ["esm", "cjs"],
6 checks: {
7 legacyCjs: false,
8 },
9 outDir: "dist",
10 sourcemap: true,
11 clean: true,
12 noExternal: (id) => id.startsWith("@t3tools/"),
13 inlineOnly: false,
14 banner: {
15 js: "#!/usr/bin/env node\n",
16 },
17});