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