We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a820c commit 01b1d9dCopy full SHA for 01b1d9d
packages/notion-to-utils/package.json
@@ -6,7 +6,7 @@
6
"scripts": {
7
"test": "vitest",
8
"test:watch": "vitest --watch",
9
- "build": "tsup src/index.ts --format cjs,esm --dts --minify"
+ "build": "tsup"
10
},
11
"keywords": [],
12
"author": "Jinsoo Lee",
packages/notion-to-utils/tsup.config.ts
@@ -0,0 +1,12 @@
1
+import { defineConfig } from 'tsup';
2
+
3
+export default defineConfig({
4
+ entry: ['src/index.ts'],
5
+ target: 'esnext',
+ format: ['cjs', 'esm'],
+ splitting: true,
+ treeshake: true,
+ clean: true,
+ dts: true,
+ minify: true,
+});
0 commit comments