17 lines
323 B
TypeScript
17 lines
323 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: ["./src/index.ts"],
|
|
outDir: "./dist/",
|
|
format: ["esm"],
|
|
platform: "node",
|
|
sourcemap: true,
|
|
bundle: true,
|
|
target: "esnext",
|
|
skipNodeModulesBundle: false,
|
|
esbuildOptions(options) {
|
|
options.bundle = true;
|
|
},
|
|
clean: true,
|
|
});
|