summaryrefslogtreecommitdiff
path: root/tsup.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tsup.config.ts')
-rw-r--r--tsup.config.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/tsup.config.ts b/tsup.config.ts
new file mode 100644
index 0000000..f845191
--- /dev/null
+++ b/tsup.config.ts
@@ -0,0 +1,10 @@
+import { defineConfig } from "tsup";
+
+export default defineConfig({
+ entry: ["src/flatmatter.ts"],
+ clean: true,
+ format: ["esm", "cjs"],
+ dts: true,
+ treeshake: "smallest",
+ sourcemap: true,
+});