silverwolf-x's picture
download
raw
303 Bytes
import getRouteFromAssetPath from '../shared/lib/router/utils/get-route-from-asset-path'
export default function matchBundle(
regex: RegExp,
input: string
): string | null {
const result = regex.exec(input)
if (!result) {
return null
}
return getRouteFromAssetPath(`/${result[1]}`)
}

Xet Storage Details

Size:
303 Bytes
·
Xet hash:
9516652f302046219d8d56621dc1425d3b6a135ce0735fcde6a1945bdf253a03

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.