UNPKG

vike

Version:

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

8 lines (7 loc) • 276 B
/** Prevent compilers from constant folding `'a' + 'b'` into `'ab'`*/ export function preventConstantFolding() { const undefined_ = globalThis.__vike__this_property_is_never_defined; if (undefined_) return '__vike__this_string_is_never_used'; return ''; }