You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/build-options.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Browser compatibility target for the final bundle. The default value is a Vite s
10
10
11
11
Another special value is `'esnext'` - which assumes native dynamic imports support and will transpile as little as possible:
12
12
13
-
- If the [`build.minify`](#build-minify) option is `'terser'`, `'esnext'` will be forced down to `'es2021'`.
13
+
- If the [`build.minify`](#build-minify) option is `'terser'` and the installed Terser version is below 5.16.0, `'esnext'` will be forced down to `'es2021'`.
14
14
- In other cases, it will perform no transpilation at all.
15
15
16
16
The transform is performed with esbuild and the value should be a valid [esbuild target option](https://esbuild.github.io/api/#target). Custom targets can either be an ES version (e.g. `es2015`), a browser with version (e.g. `chrome58`), or an array of multiple target strings.
0 commit comments