Initial boiler plate project
This commit is contained in:
21
node_modules/next/dist/esm/server/dev/turbopack/entry-key.js
generated
vendored
Normal file
21
node_modules/next/dist/esm/server/dev/turbopack/entry-key.js
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* `app` -> app dir
|
||||
* `pages` -> pages dir
|
||||
* `root` -> middleware / instrumentation
|
||||
* `assets` -> assets
|
||||
*/ /**
|
||||
* Get a key that's unique across all entrypoints.
|
||||
*/ export function getEntryKey(type, side, page) {
|
||||
return JSON.stringify({
|
||||
type,
|
||||
side,
|
||||
page
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Split an `EntryKey` up into its components.
|
||||
*/ export function splitEntryKey(key) {
|
||||
return JSON.parse(key);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=entry-key.js.map
|
||||
Reference in New Issue
Block a user