fix: 修改非 window 环境打包路径报错的问题

This commit is contained in:
奔跑的面条
2022-09-15 11:48:39 +08:00
parent 5312ba5a45
commit d8fa5784bf
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -17,11 +17,11 @@ export default defineConfig({
alias: [
{
find: /\/#\//,
replacement: pathResolve('types') + '/'
replacement: pathResolve('types')
},
{
find: '@',
replacement: pathResolve('src') + '/'
replacement: pathResolve('src')
}
],
dedupe: ['vue']