We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b5131e + 147dc0b commit baa8e0bCopy full SHA for baa8e0b
1 file changed
tsup.config.ts
@@ -10,6 +10,10 @@ const baseConfig: Options = {
10
sourcemap: false,
11
clean: true,
12
minify: true,
13
+ dts: {
14
+ entry: 'src/index.ts',
15
+ resolve: true,
16
+ },
17
esbuildOptions(options) {
18
options.legalComments = 'none';
19
return options;
@@ -20,10 +24,6 @@ export default defineConfig([
20
24
{
21
25
...baseConfig,
22
26
format: ['cjs'],
23
- dts: {
- entry: 'src/index.ts',
- resolve: true,
- },
27
define: {
28
WORKER_FILE_PATH: JSON.stringify('./worker/index.js'),
29
},
0 commit comments