From b08c553749f6619815c171175dd6bcf8ee6ab035 Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Mon, 28 Apr 2025 22:25:28 +0300 Subject: Refactor for only the Node runtime. --- tsup.config.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tsup.config.ts (limited to 'tsup.config.ts') 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, +}); -- cgit v1.2.3