Skip to content

Commit ed86f87

Browse files
authored
fix: update in api references (vitejs#38)
1 parent 98abdf0 commit ed86f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ export default ({ command, mode }) => {
400400
### build.target
401401

402402
- **类型:** `string`
403-
- **默认:** `es2020`
403+
- **默认:** `modules`
404404
- **相关内容::** [浏览器兼容性](/guide/build#浏览器兼容性)
405405

406406
设置最终构建的浏览器兼容目标。默认值是一个 Vite 特有的值,`'modules'`,这是指 [支持原生 ES 模块的浏览器](https://caniuse.com/es6-module)

0 commit comments

Comments
 (0)