diff --git a/src/shared/shared.ts b/src/shared/shared.ts index 051c5d09..3d2cc7a5 100644 --- a/src/shared/shared.ts +++ b/src/shared/shared.ts @@ -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')