summaryrefslogtreecommitdiff
path: root/tsup.config.ts
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2025-02-12 00:44:57 +0200
committerAsko Nõmm <asko@nmm.ee>2025-02-12 00:44:57 +0200
commit670dbc07239fb860961055eb7af6823786e4febe (patch)
treed575fdb4871e23af0220b938ba009d9ea4797523 /tsup.config.ts
parent8ff7c10249b1a9daeb30d47cf5b9266a5a0f7a26 (diff)
Refactor to use Effect.
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,
+});