Initial boiler plate project
This commit is contained in:
34
node_modules/next/dist/shared/lib/segment.js
generated
vendored
Normal file
34
node_modules/next/dist/shared/lib/segment.js
generated
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
0 && (module.exports = {
|
||||
DEFAULT_SEGMENT_KEY: null,
|
||||
PAGE_SEGMENT_KEY: null,
|
||||
isGroupSegment: null
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
DEFAULT_SEGMENT_KEY: function() {
|
||||
return DEFAULT_SEGMENT_KEY;
|
||||
},
|
||||
PAGE_SEGMENT_KEY: function() {
|
||||
return PAGE_SEGMENT_KEY;
|
||||
},
|
||||
isGroupSegment: function() {
|
||||
return isGroupSegment;
|
||||
}
|
||||
});
|
||||
function isGroupSegment(segment) {
|
||||
// Use array[0] for performant purpose
|
||||
return segment[0] === "(" && segment.endsWith(")");
|
||||
}
|
||||
const PAGE_SEGMENT_KEY = "__PAGE__";
|
||||
const DEFAULT_SEGMENT_KEY = "__DEFAULT__";
|
||||
|
||||
//# sourceMappingURL=segment.js.map
|
||||
Reference in New Issue
Block a user