File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212 // 模块解析策略,Bundler 模式适用于打包工具(如 Vite、Webpack),支持更宽松的解析规则
1313 "moduleResolution" : " Bundler" ,
14- "paths" : {
15- "mokup" : [
16- " packages/mokup/src/index.ts"
17- ],
18- "mokup/*" : [
19- " packages/mokup/src/*"
20- ]
21- },
2214
2315 // 允许导入 .json 文件,并自动生成类型声明
2416 "resolveJsonModule" : true ,
Original file line number Diff line number Diff line change 11{
22 "extends" : " ./tsconfig.json" ,
3+ "compilerOptions" : {
4+ "paths" : {
5+ "@mokup/cli" : [
6+ " packages/cli/src/index.ts"
7+ ],
8+ "@mokup/cli/*" : [
9+ " packages/cli/src/*"
10+ ],
11+ "@mokup/core" : [
12+ " packages/core/src/index.ts"
13+ ],
14+ "@mokup/core/*" : [
15+ " packages/core/src/*"
16+ ],
17+ "@mokup/playground" : [
18+ " packages/playground/src/index.ts"
19+ ],
20+ "@mokup/playground/*" : [
21+ " packages/playground/src/*"
22+ ],
23+ "@mokup/runtime" : [
24+ " packages/runtime/src/index.ts"
25+ ],
26+ "@mokup/runtime/*" : [
27+ " packages/runtime/src/*"
28+ ],
29+ "@mokup/server" : [
30+ " packages/server/src/index.ts"
31+ ],
32+ "@mokup/server/*" : [
33+ " packages/server/src/*"
34+ ],
35+ "@mokup/shared" : [
36+ " packages/shared/src/index.ts"
37+ ],
38+ "@mokup/shared/*" : [
39+ " packages/shared/src/*"
40+ ],
41+ "mokup" : [
42+ " packages/mokup/src/index.ts"
43+ ],
44+ "mokup/*" : [
45+ " packages/mokup/src/*"
46+ ]
47+ }
48+ },
349 "include" : [
450 " commitlint.config.ts" ,
551 " monorepo.config.ts" ,
You can’t perform that action at this time.
0 commit comments