From ea241ca80407447a3a3524fde123b1960f532664 Mon Sep 17 00:00:00 2001 From: Nurettin Kaya Date: Mon, 20 Sep 2021 06:13:20 -0700 Subject: [PATCH] chore: properly generate indexes.json on windows (#773) --- scripts/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.ts b/scripts/utils.ts index cc4ab38cc04e..b5b24c4e1d5b 100644 --- a/scripts/utils.ts +++ b/scripts/utils.ts @@ -109,7 +109,7 @@ export async function readIndexes() { const pkg: VueUsePackage = { ...info, - dir: relative(DIR_ROOT, dir), + dir: relative(DIR_ROOT, dir).replace(/\\/g, '/'), docs: info.addon ? `${DOCS_URL}/${info.name}/README.html` : undefined, }