Closed sardor01 closed 1 month ago
I want to use parseURL utility function from packages/router/src/location.ts
parseURL
packages/router/src/location.ts
I think it would be enough to export parseURL function in packages/router/src/index.ts file:
packages/router/src/index.ts
export { parseURL, START_LOCATION_NORMALIZED as START_LOCATION } from './location'
Utility functions are kept internal to avoid unnecessary breaking changes. Feel free to copy the function or write your own version with new URL()
What problem is this solving
I want to use
parseURL
utility function frompackages/router/src/location.ts
Proposed solution
I think it would be enough to export
parseURL
function inpackages/router/src/index.ts
file: