From 2ba9ac52ab8616ed01253f544028c4cb42263470 Mon Sep 17 00:00:00 2001 From: dhb52 Date: Mon, 10 Apr 2023 16:55:02 +0800 Subject: [PATCH] fix: vscode debug (cherry picked from commit a5cb7a50ab4172736acec771c9e137a7d544d45e) --- build/vite/index.ts | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build/vite/index.ts b/build/vite/index.ts index 0e8db33c..da50d919 100644 --- a/build/vite/index.ts +++ b/build/vite/index.ts @@ -97,7 +97,8 @@ export function createVitePlugins() { deleteOriginFile: false //压缩后是否删除源文件 }), ViteEjsPlugin(), - topLevelAwait({ // https://juejin.cn/post/7152191742513512485 + topLevelAwait({ + // https://juejin.cn/post/7152191742513512485 // The export name of top-level await promise for each chunk module promiseExportName: '__tla', // The function to generate import names of top-level await promise in each chunk module diff --git a/package.json b/package.json index 54d2b3c3..e56c5f10 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "vite-plugin-purge-icons": "^0.9.2", "vite-plugin-svg-icons": "^2.0.1", "vite-plugin-top-level-await": "^1.3.0", - "vite-plugin-vue-setup-extend": "^0.4.0", + "vite-plugin-vue-setup-extend-plus": "^0.1.0", "vite-plugin-windicss": "^1.8.10", "vue-tsc": "^1.2.0", "windicss": "^3.5.6"