Commit 660024c6f34f80281223537066e9649828d7c93f

Authored by Cherelle Spencer
Committed by GitHub
1 parent 6b30c9f7

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

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
Showing 1 changed file with 3 additions and 1 deletions
tsconfig.json
@@ -6,7 +6,9 @@ @@ -6,7 +6,9 @@
6 "types": ["vite/client"], 6 "types": ["vite/client"],
7 "paths": { 7 "paths": {
8 "/@/*": ["src/*"], 8 "/@/*": ["src/*"],
9 - "/#/*": ["types/*"] 9 + "/#/*": ["types/*"],
  10 + "@/*": ["src/*"],
  11 + "#/*": ["types/*"]
10 } 12 }
11 }, 13 },
12 "include": [ 14 "include": [