Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
13
node_modules/next/dist/esm/client/components/bailout-to-client-rendering.js
generated
vendored
Normal file
13
node_modules/next/dist/esm/client/components/bailout-to-client-rendering.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { BailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr';
|
||||
import { workAsyncStorage } from '../../server/app-render/work-async-storage.external';
|
||||
export function bailoutToClientRendering(reason) {
|
||||
const workStore = workAsyncStorage.getStore();
|
||||
if (workStore == null ? void 0 : workStore.forceStatic) return;
|
||||
if (workStore == null ? void 0 : workStore.isStaticGeneration) throw Object.defineProperty(new BailoutToCSRError(reason), "__NEXT_ERROR_CODE", {
|
||||
value: "E394",
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
});
|
||||
}
|
||||
|
||||
//# sourceMappingURL=bailout-to-client-rendering.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue