Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
10
node_modules/next/dist/esm/server/match-bundle.js
generated
vendored
Normal file
10
node_modules/next/dist/esm/server/match-bundle.js
generated
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue