diff --git a/package.json b/package.json index bdb7e42..c92c27c 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/tsconfig.json b/tsconfig.json index 53b3b01..5262cee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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"] }