summaryrefslogtreecommitdiffhomepage
path: root/tsup.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tsup.config.ts')
-rw-r--r--tsup.config.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/tsup.config.ts b/tsup.config.ts
new file mode 100644
index 0000000..81e74f1
--- /dev/null
+++ b/tsup.config.ts
@@ -0,0 +1,11 @@
+import { defineConfig } from 'tsup';
+
+export default defineConfig({
+ entry: ['src/index.ts'],
+ format: ['cjs'],
+ target: 'es2022',
+ outDir: 'dist',
+ clean: true,
+ sourcemap: true,
+ splitting: false,
+});