UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

12 lines (11 loc) 383 B
export { debug }; var _debug; function debug(...args) { if (!_debug) { // We use this trick instead of `import { createDebugger } from '../../utils/debug` in order to ensure that the `debug` mechanism is only loaded on the server-side _debug = globalThis.__brillout_debug_createDebugger?.('vike:routing'); } if (_debug) { _debug(...args); } }