(url: string)
| 329 | export const urlRE: RegExp = /(\?|&)url(?:&|$)/ |
| 330 | export const rawRE: RegExp = /(\?|&)raw(?:&|$)/ |
| 331 | export function removeUrlQuery(url: string): string { |
| 332 | return url.replace(urlRE, '$1').replace(trailingSeparatorRE, '') |
| 333 | } |
| 334 | |
| 335 | export function injectQuery(url: string, queryToInject: string): string { |
| 336 | const { file, postfix } = splitFileAndPostfix(url) |