From 730a108b41ceb94a6c1e8da2abec43bcafcc825c Mon Sep 17 00:00:00 2001 From: ningmengchongshui <916415899@qq.com> Date: Mon, 10 Jun 2024 19:51:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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"] }