fix: code workspace path error

This commit is contained in:
vben
2024-06-02 22:13:15 +08:00
parent 30f7472d26
commit 6d4991d852
10 changed files with 86 additions and 6 deletions

View File

@@ -140,7 +140,7 @@ async function viteImportMapPlugin(
// 未生成importmap时抛出错误防止被turbo缓存
if (!installed && !isSSR) {
installError && console.error(installError);
throw new Error('importmap install failed.');
throw new Error('Importmap installation failed.');
}
},
enforce: 'post',