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 3af485a commit f101302Copy full SHA for f101302
1 file changed
tsup.config.ts
@@ -1,23 +1,16 @@
1
import { defineConfig } from 'tsup';
2
import pkg from './package.json';
3
4
-export default defineConfig((options) => ({
5
+export default defineConfig({
6
entry: ['src/index.tsx'],
7
format: ['esm', 'cjs'],
8
- outExtension: ext => ({
9
- esm: '.mjs',
10
- cjs: '.cjs',
11
- }),
12
dts: true,
13
- watch: options.watch,
14
clean: true,
15
-}));
16
banner: {
17
js: `/**
18
* ${pkg.name} v${pkg.version}
19
* Author: ${pkg.author}
20
*/
21
- `,
+ `,
22
},
23
+});
0 commit comments