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 28bb859 commit f8cbab7Copy full SHA for f8cbab7
tsdown.config.ts
@@ -1,5 +1,5 @@
1
import { defineConfig } from 'tsdown';
2
-import pkg from './package.json';
+import pkg from './package.json' with { type: 'json' };
3
4
export default defineConfig({
5
entry: ['src/index.ts'],
@@ -9,6 +9,5 @@ export default defineConfig({
9
dts: true,
10
sourcemap: false,
11
minify: true,
12
- format: ['esm'],
13
- target: 'node18'
+ fixedExtension: false
14
});
0 commit comments