Explorar o código

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

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
Cherelle Spencer %!s(int64=2) %!d(string=hai) anos
pai
achega
660024c6f3
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      tsconfig.json

+ 3 - 1
tsconfig.json

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