We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b76ee0c + afed93f commit 0c81a6fCopy full SHA for 0c81a6f
config/build-options.md
@@ -10,7 +10,7 @@
10
11
另一个特殊值是 “esnext” —— 即假设有原生动态导入支持,并且将会转译得尽可能小:
12
13
-- 如果 [`build.minify`](#build-minify) 选项为 `'terser'`,`'esnext'` 将会强制降级为 `'es2019'`。
+- 如果 [`build.minify`](#build-minify) 选项为 `'terser'`,`'esnext'` 将会强制降级为 `'es2021'`。
14
- 其他情况下将完全不会执行转译。
15
16
转换过程将会由 esbuild 执行,并且此值应该是一个合法的 [esbuild 目标选项](https://esbuild.github.io/api/#target)。自定义目标也可以是一个 ES 版本(例如:`es2015`)、一个浏览器版本(例如:`chrome58`)或是多个目标组成的一个数组。
0 commit comments