Skip to content

Commit 616f63f

Browse files
committedJan 15, 2025·
feat: export normalize function from shared chunk
closes #4401
1 parent 096bba1 commit 616f63f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/shared/shared.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function isActive(
6262
return true
6363
}
6464

65-
function normalize(path: string): string {
65+
export function normalize(path: string): string {
6666
return decodeURI(path)
6767
.replace(HASH_OR_QUERY_RE, '')
6868
.replace(INDEX_OR_EXT_RE, '$1')

0 commit comments

Comments
 (0)
Please sign in to comment.