We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfa22ca commit 4a0f210Copy full SHA for 4a0f210
packages/vite/src/node/plugins/esbuild.ts
@@ -179,6 +179,7 @@ export function esbuildPlugin(options: ESBuildOptions = {}): Plugin {
179
// Remove optimization options for dev as we only need to transpile them,
180
// and for build as the final optimization is in `buildEsbuildPlugin`
181
const transformOptions: TransformOptions = {
182
+ target: 'esnext',
183
...options,
184
minify: false,
185
minifyIdentifiers: false,
0 commit comments