feat: 新别名
This commit is contained in:
parent
1df4142828
commit
730a108b41
|
@ -79,6 +79,7 @@
|
||||||
"typescript": "^5.0.4"
|
"typescript": "^5.0.4"
|
||||||
},
|
},
|
||||||
"imports": {
|
"imports": {
|
||||||
|
"#image/*": "./image/*",
|
||||||
"#miao/*": "./src/*",
|
"#miao/*": "./src/*",
|
||||||
"#miao": "./plugins/miao-plugin/components/index.js",
|
"#miao": "./plugins/miao-plugin/components/index.js",
|
||||||
"#miao.models": "./plugins/miao-plugin/models/index.js"
|
"#miao.models": "./plugins/miao-plugin/models/index.js"
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
//
|
//
|
||||||
"paths": {
|
"paths": {
|
||||||
// 内部核心模块导出
|
// 内部核心模块导出
|
||||||
|
"#image/*": ["./image/*"],
|
||||||
"#miao/*": ["./src/*"],
|
"#miao/*": ["./src/*"],
|
||||||
// 外部模块 待移除
|
// 外部模块 待移除
|
||||||
"#miao": ["./plugins/miao-plugin/components/index.js"],
|
"#miao": ["./plugins/miao-plugin/components/index.js"],
|
||||||
|
@ -45,5 +46,5 @@
|
||||||
"transpileOnly": true,
|
"transpileOnly": true,
|
||||||
"experimentalSpecifierResolution": "node"
|
"experimentalSpecifierResolution": "node"
|
||||||
},
|
},
|
||||||
"include": ["src", "image"]
|
"include": ["src", "image", "plugins"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue