feat: 新别名

This commit is contained in:
ningmengchongshui 2024-06-10 19:51:38 +08:00
parent 1df4142828
commit 730a108b41
2 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -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"]
} }