build: update target Node.js version to 20.19.0 in tsdown.config.mjs files

This commit is contained in:
pengzhanbo 2026-02-25 22:03:51 +08:00
parent c109d54961
commit feb69a282e
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ export default defineConfig(() => {
...DEFAULT_OPTIONS, ...DEFAULT_OPTIONS,
entry: ['./src/node/index.ts'], entry: ['./src/node/index.ts'],
outDir: './lib/node', outDir: './lib/node',
target: 'node20.6.0', target: 'node20.19.0',
}) })
} }

View File

@ -42,7 +42,7 @@ export default defineConfig((cli) => {
...DEFAULT_OPTIONS, ...DEFAULT_OPTIONS,
entry: ['./src/node/index.ts'], entry: ['./src/node/index.ts'],
outDir: './lib/node', outDir: './lib/node',
target: 'node20.6.0', target: 'node20.19.0',
external: ['markdown-it', /^@?vuepress/], external: ['markdown-it', /^@?vuepress/],
}) })
} }

View File

@ -39,7 +39,7 @@ export default defineConfig(() => {
entry: ['./src/node/index.ts'], entry: ['./src/node/index.ts'],
outDir: './lib/node', outDir: './lib/node',
external: sharedExternal, external: sharedExternal,
target: 'node20.6.0', target: 'node20.19.0',
}) })
} }