Skip to content

Commit 98f6afc

Browse files
committed
chore: update node target
1 parent 0b6a9d0 commit 98f6afc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ export default defineConfig({
55
dts: true,
66
entry: ['src/index.ts'],
77
external: ['@xmldom/xmldom', 'kleur', 'plugin-error'],
8-
format: 'esm',
8+
format: ['esm', 'cjs'],
99
minify: true,
1010
outDir: 'dist',
1111
platform: 'node',
12-
target: 'esnext',
12+
target: 'node20',
1313
treeshake: true,
1414
});

0 commit comments

Comments
 (0)