瀏覽代碼

perf: tsconfig 同步vite配置修改, 增加路径映射 (#2675)

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
Cherelle Spencer 2 年之前
父節點
當前提交
660024c6f3
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      tsconfig.json

+ 3 - 1
tsconfig.json

@@ -6,7 +6,9 @@
     "types": ["vite/client"],
     "paths": {
       "/@/*": ["src/*"],
-      "/#/*": ["types/*"]
+      "/#/*": ["types/*"],
+      "@/*": ["src/*"],
+      "#/*": ["types/*"]
     }
   },
   "include": [