Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
12
node_modules/next/dist/esm/client/components/segment-cache-impl/cache-key.js
generated
vendored
Normal file
12
node_modules/next/dist/esm/client/components/segment-cache-impl/cache-key.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// TypeScript trick to simulate opaque types, like in Flow.
|
||||
export function createCacheKey(originalHref, nextUrl) {
|
||||
const originalUrl = new URL(originalHref);
|
||||
const cacheKey = {
|
||||
href: originalHref,
|
||||
search: originalUrl.search,
|
||||
nextUrl: nextUrl
|
||||
};
|
||||
return cacheKey;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=cache-key.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue