Explorar el Código

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

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
Cherelle Spencer hace 2 años
padre
commit
660024c6f3
Se han modificado 1 ficheros con 3 adiciones y 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": [