Files
voyage/apps/public-web/node_modules/next/dist/server/node-environment-extensions/console-exit.d.ts
PascalSchattenburg d147843c76 feat(blog): add file-based blog with dynamic slugs, MDX content and layout shell
- Introduced blog routing using Next.js App Router
- Implemented dynamic [slug] pages for blog posts
- Added MDX-based content loading via lib/posts
- Integrated shared TopBar layout with navigation
- Established clear content, lib and component separation
2026-01-22 14:14:15 +01:00

13 lines
669 B
TypeScript

/**
* Patches console methods to exit the workUnitAsyncStorage so that inside the host implementation
* sync IO can be called. This is relevant for example with runtimes that patch console methods to
* prepend a timestamp to the log output.
*
* Note that this will only exit for already installed patched console methods. If you further patch
* the console method after this and add any sync IO there it will trigger sync IO warnings while prerendering.
*
* This is a pragmatic concession because layering the patches if you install your own log implementation
* after they are installed is very tricky to do correctly because the order matters
*/
export {};