wilddragon-site/node_modules/next/dist/esm/server/match-bundle.js

10 lines
320 B
JavaScript
Raw Normal View History

2026-04-17 15:51:01 -04:00
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