Skip to content

Commit c5e7895

Browse files
authored
fix: ignore tsconfig target when bundling config (#9457)
1 parent 77e258f commit c5e7895

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vite/src/node/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,7 @@ async function bundleConfigFile(
932932
entryPoints: [fileName],
933933
outfile: 'out.js',
934934
write: false,
935+
target: ['node14.18', 'node16'],
935936
platform: 'node',
936937
bundle: true,
937938
format: isESM ? 'esm' : 'cjs',

0 commit comments

Comments
 (0)