File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import Components from 'unplugin-vue-components/vite'
13
13
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
14
14
import viteCompression from 'vite-plugin-compression'
15
15
import topLevelAwait from 'vite-plugin-top-level-await'
16
- import vueSetupExtend from 'vite-plugin-vue-setup-extend'
16
+ import vueSetupExtend from 'vite-plugin-vue-setup-extend-plus '
17
17
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
18
18
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
19
19
@@ -98,7 +98,8 @@ export function createVitePlugins() {
98
98
deleteOriginFile : false //压缩后是否删除源文件
99
99
} ) ,
100
100
ViteEjsPlugin ( ) ,
101
- topLevelAwait ( { // https://juejin.cn/post/7152191742513512485
101
+ topLevelAwait ( {
102
+ // https://juejin.cn/post/7152191742513512485
102
103
// The export name of top-level await promise for each chunk module
103
104
promiseExportName : '__tla' ,
104
105
// The function to generate import names of top-level await promise in each chunk module
Original file line number Diff line number Diff line change 126
126
"vite-plugin-purge-icons" : " ^0.9.2" ,
127
127
"vite-plugin-svg-icons" : " ^2.0.1" ,
128
128
"vite-plugin-top-level-await" : " ^1.3.0" ,
129
- "vite-plugin-vue-setup-extend" : " ^0.4 .0" ,
129
+ "vite-plugin-vue-setup-extend-plus " : " ^0.1 .0" ,
130
130
"vite-plugin-windicss" : " ^1.8.10" ,
131
131
"vue-tsc" : " ^1.2.0" ,
132
132
"windicss" : " ^3.5.6"
You can’t perform that action at this time.
0 commit comments