This commit is contained in:
Kismet Hasanaj
2026-05-02 20:07:02 +02:00
parent ce8672e283
commit 34dc9aec52
9428 changed files with 1733330 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import getRouteFromAssetPath from '../shared/lib/router/utils/get-route-from-asset-path';
export default function matchBundle(regex, input) {
const result = regex.exec(input);
if (!result) {
return null;
}
return getRouteFromAssetPath(`/${result[1]}`);
}
//# sourceMappingURL=match-bundle.js.map