Skip to content

Commit

Permalink
Revert "fix(esbuild): transpile with esnext in dev (vitejs#10215)"
Browse files Browse the repository at this point in the history
This reverts commit 4a0f210.
  • Loading branch information
SepVeneto committed Sep 29, 2022
1 parent 0c3d819 commit 3be898a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/vite/src/node/plugins/esbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ export function esbuildPlugin(options: ESBuildOptions = {}): Plugin {
// Remove optimization options for dev as we only need to transpile them,
// and for build as the final optimization is in `buildEsbuildPlugin`
const transformOptions: TransformOptions = {
target: 'esnext',
...options,
minify: false,
minifyIdentifiers: false,
Expand Down

0 comments on commit 3be898a

Please sign in to comment.