16 lines
288 B
TypeScript
16 lines
288 B
TypeScript
import { name } from "./package.json";
|
|
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
name,
|
|
entry: ["src/index.ts"],
|
|
format: ["esm"],
|
|
target: "node20",
|
|
bundle: true,
|
|
splitting: false,
|
|
sourcemap: true,
|
|
clean: true,
|
|
dts: {
|
|
resolve: true,
|
|
},
|
|
});
|