From c15c155353e145d00fe9b18e61102f89f2c0a73b Mon Sep 17 00:00:00 2001 From: sapphi-red Date: Thu, 15 Jun 2023 17:37:47 +0900 Subject: [PATCH] refactor: esbuild no longer respects target in tsconfig --- packages/vite/src/node/plugins/esbuild.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/vite/src/node/plugins/esbuild.ts b/packages/vite/src/node/plugins/esbuild.ts index c9cf2412152ee8..5f17121e380db0 100644 --- a/packages/vite/src/node/plugins/esbuild.ts +++ b/packages/vite/src/node/plugins/esbuild.ts @@ -151,7 +151,6 @@ export async function transformWithEsbuild( options.jsxFactory && (compilerOptions.jsxFactory = undefined) options.jsxFragment && (compilerOptions.jsxFragmentFactory = undefined) options.jsxImportSource && (compilerOptions.jsxImportSource = undefined) - options.target && (compilerOptions.target = undefined) } tsconfigRaw = {