Skip to content

Commit

Permalink
chore: properly generate indexes.json on windows (vitest-dev#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
sibbng committed Sep 20, 2021
1 parent c68e698 commit ea241ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils.ts
Expand Up @@ -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,
}

Expand Down

0 comments on commit ea241ca

Please sign in to comment.