Skip to content

Commit

Permalink
feat: export normalize function from shared chunk
Browse files Browse the repository at this point in the history
closes #4401
  • Loading branch information
brc-dd committed Jan 15, 2025
1 parent 096bba1 commit 616f63f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function isActive(
return true
}

function normalize(path: string): string {
export function normalize(path: string): string {
return decodeURI(path)
.replace(HASH_OR_QUERY_RE, '')
.replace(INDEX_OR_EXT_RE, '$1')
Expand Down

0 comments on commit 616f63f

Please sign in to comment.