From 608cd773be9e1c17aa6b94e2a6fb1cdf32004a3d Mon Sep 17 00:00:00 2001 From: tai-cha Date: Mon, 3 Mar 2025 01:19:18 +0900 Subject: [PATCH] =?UTF-8?q?admin=E3=81=A7=E3=82=82=E3=83=91=E3=82=B9?= =?UTF-8?q?=E7=94=9F=E6=88=90=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/lib/vite-plugin-create-search-index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/lib/vite-plugin-create-search-index.ts b/packages/frontend/lib/vite-plugin-create-search-index.ts index 2d7d71473d..5a96f8c64d 100644 --- a/packages/frontend/lib/vite-plugin-create-search-index.ts +++ b/packages/frontend/lib/vite-plugin-create-search-index.ts @@ -790,7 +790,7 @@ function extractUsageInfoFromTemplateAst( } //pathがない場合はファイルパスを設定 - if (markerInfo.path == null && parentId == null) markerInfo.path = id.match(/.*(\/settings\/[^\/]+)\.vue$/)?.[1]; + if (markerInfo.path == null && parentId == null) markerInfo.path = id.match(/.*(\/(admin|settings)\/[^\/]+)\.vue$/)?.[1]; // SearchLabelとSearchKeywordを抽出 (AST全体を探索) if (node.children && Array.isArray(node.children)) {