This commit is contained in:
2026-04-12 01:02:14 +08:00
parent 509487f155
commit 9b053e302b
14085 changed files with 2680009 additions and 12 deletions

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