File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -700,6 +700,8 @@ Ready to use right out of the box.
700
700
701
701
Vite 4 (Rollup 3) uses ES2020 as compiler target by default, therefore Vite-4-built outputs should be transpiled in webpack 4.
702
702
703
+ ≥ v4.5.15
704
+
703
705
``` js
704
706
// vue.config.js
705
707
@@ -708,7 +710,7 @@ module.exports = {
708
710
}
709
711
```
710
712
711
- ⚠ Only for version ≤ 4 .5.14:
713
+ < v4 .5.15
712
714
713
715
``` js
714
716
// vue.config.js
Original file line number Diff line number Diff line change @@ -698,6 +698,8 @@ export default {
698
698
699
699
Vite 4 (Rollup 3) 默认的编译目标为 ES2020,所以在 webpack 4 中需要对 Vite 4 打包的依赖进行转译。
700
700
701
+ ≥ v4.5.15
702
+
701
703
``` js
702
704
// vue.config.js
703
705
@@ -706,7 +708,7 @@ module.exports = {
706
708
}
707
709
```
708
710
709
- ⚠ 仅 ≤ 4 .5.14 版本:
711
+ < v4 .5.15
710
712
711
713
``` js
712
714
// vue.config.js
You can’t perform that action at this time.
0 commit comments