Initial boiler plate project
This commit is contained in:
36
node_modules/next/dist/lib/is-internal-component.js
generated
vendored
Normal file
36
node_modules/next/dist/lib/is-internal-component.js
generated
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
0 && (module.exports = {
|
||||
isInternalComponent: null,
|
||||
isNonRoutePagesPage: null
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
isInternalComponent: function() {
|
||||
return isInternalComponent;
|
||||
},
|
||||
isNonRoutePagesPage: function() {
|
||||
return isNonRoutePagesPage;
|
||||
}
|
||||
});
|
||||
function isInternalComponent(pathname) {
|
||||
switch(pathname){
|
||||
case "next/dist/pages/_app":
|
||||
case "next/dist/pages/_document":
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
function isNonRoutePagesPage(pathname) {
|
||||
return pathname === "/_app" || pathname === "/_document";
|
||||
}
|
||||
|
||||
//# sourceMappingURL=is-internal-component.js.map
|
||||
Reference in New Issue
Block a user