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 98abdf0 commit ed86f87Copy full SHA for ed86f87
config/index.md
@@ -400,7 +400,7 @@ export default ({ command, mode }) => {
400
### build.target
401
402
- **类型:** `string`
403
-- **默认:** `es2020`
+- **默认:** `modules`
404
- **相关内容::** [浏览器兼容性](/guide/build#浏览器兼容性)
405
406
设置最终构建的浏览器兼容目标。默认值是一个 Vite 特有的值,`'modules'`,这是指 [支持原生 ES 模块的浏览器](https://caniuse.com/es6-module)。
0 commit comments