Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
42
node_modules/next/dist/client/components/static-generation-bailout.js
generated
vendored
Normal file
42
node_modules/next/dist/client/components/static-generation-bailout.js
generated
vendored
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
0 && (module.exports = {
|
||||
StaticGenBailoutError: null,
|
||||
isStaticGenBailoutError: null
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
StaticGenBailoutError: function() {
|
||||
return StaticGenBailoutError;
|
||||
},
|
||||
isStaticGenBailoutError: function() {
|
||||
return isStaticGenBailoutError;
|
||||
}
|
||||
});
|
||||
const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT';
|
||||
class StaticGenBailoutError extends Error {
|
||||
constructor(...args){
|
||||
super(...args), this.code = NEXT_STATIC_GEN_BAILOUT;
|
||||
}
|
||||
}
|
||||
function isStaticGenBailoutError(error) {
|
||||
if (typeof error !== 'object' || error === null || !('code' in error)) {
|
||||
return false;
|
||||
}
|
||||
return error.code === NEXT_STATIC_GEN_BAILOUT;
|
||||
}
|
||||
|
||||
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
||||
Object.defineProperty(exports.default, '__esModule', { value: true });
|
||||
Object.assign(exports.default, exports);
|
||||
module.exports = exports.default;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=static-generation-bailout.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue