Skip to content

Commit

Permalink
fix: ignore tsconfig target when bundling config (#9457)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Aug 1, 2022
1 parent 77e258f commit c5e7895
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/config.ts
Expand Up @@ -932,6 +932,7 @@ async function bundleConfigFile(
entryPoints: [fileName],
outfile: 'out.js',
write: false,
target: ['node14.18', 'node16'],
platform: 'node',
bundle: true,
format: isESM ? 'esm' : 'cjs',
Expand Down

0 comments on commit c5e7895

Please sign in to comment.