Initial boiler plate project
This commit is contained in:
15
node_modules/next/dist/esm/client/components/static-generation-bailout.js
generated
vendored
Normal file
15
node_modules/next/dist/esm/client/components/static-generation-bailout.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
const NEXT_STATIC_GEN_BAILOUT = "NEXT_STATIC_GEN_BAILOUT";
|
||||
export class StaticGenBailoutError extends Error {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
this.code = NEXT_STATIC_GEN_BAILOUT;
|
||||
}
|
||||
}
|
||||
export function isStaticGenBailoutError(error) {
|
||||
if (typeof error !== "object" || error === null || !("code" in error)) {
|
||||
return false;
|
||||
}
|
||||
return error.code === NEXT_STATIC_GEN_BAILOUT;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=static-generation-bailout.js.map
|
||||
Reference in New Issue
Block a user