summaryrefslogtreecommitdiff
path: root/tsup.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tsup.config.ts')
-rw-r--r--tsup.config.ts14
1 files changed, 8 insertions, 6 deletions
diff --git a/tsup.config.ts b/tsup.config.ts
index 76a9a74..ca2b9c0 100644
--- a/tsup.config.ts
+++ b/tsup.config.ts
@@ -1,8 +1,10 @@
-import {defineConfig} from "tsup";
+import { defineConfig } from "tsup";
export default defineConfig({
- entry: ["src/index.ts"],
- clean: true,
- format: ["cjs", "esm"],
- dts: true
-}) \ No newline at end of file
+ entry: ["src/flatmatter.ts"],
+ clean: true,
+ format: ["cjs", "esm"],
+ dts: true,
+ treeshake: "smallest",
+ sourcemap: true,
+});