First concept

This commit is contained in:
will
2026-04-02 19:13:46 +01:00
commit 1da5da43e1
9785 changed files with 2077949 additions and 0 deletions

View 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