UNPKG

vike

Version:

(Replaces Next.js/Nuxt) 🔨 Composable framework to build advanced applications with flexibility and stability.

11 lines (10 loc) • 359 B
export { isNonRunnableDevProcess }; import { assert } from './assert.js'; import { assertIsNotBrowser } from './assertIsNotBrowser.js'; assertIsNotBrowser(); function isNonRunnableDevProcess() { if (globalThis.__VIKE__IS_NON_RUNNABLE_DEV === undefined) return false; assert(globalThis.__VIKE__IS_NON_RUNNABLE_DEV === true); return true; }