wilddragon-site/node_modules/next/dist/esm/client/app-next-turbopack.js
2026-04-17 15:51:01 -04:00

22 lines
No EOL
1,001 B
JavaScript
Executable file

import './register-deployment-id-global';
import { appBootstrap } from './app-bootstrap';
import { isRecoverableError } from './react-client-callbacks/on-recoverable-error';
window.next.turbopack = true;
self.__webpack_hash__ = '';
// eslint-disable-next-line @next/internal/typechecked-require
const instrumentationHooks = require('../lib/require-instrumentation-client');
appBootstrap((assetPrefix)=>{
const { hydrate } = require('./app-index');
try {
hydrate(instrumentationHooks, assetPrefix);
} finally{
if (process.env.__NEXT_DEV_SERVER) {
const enableCacheIndicator = process.env.__NEXT_CACHE_COMPONENTS;
const { getOwnerStack } = require('../next-devtools/userspace/app/errors/stitched-error');
const { renderAppDevOverlay } = require('next/dist/compiled/next-devtools');
renderAppDevOverlay(getOwnerStack, isRecoverableError, enableCacheIndicator);
}
}
});
//# sourceMappingURL=app-next-turbopack.js.map