@builder.io/qwik
Version:
An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.
8 lines (7 loc) • 897 B
Source Map (JSON)
{
"version": 3,
"sources": ["../../src/build/index.ts"],
"sourcesContent": ["/**\n * True when build is made for browser, client-side execution.\n *\n * @public\n */\nexport const isBrowser: boolean = /*#__PURE__*/ (() =>\n typeof window !== 'undefined' &&\n typeof HTMLElement !== 'undefined' &&\n !!window.document &&\n String(HTMLElement).includes('[native code]'))();\n\n/**\n * True when build is made for SSR purposes.\n *\n * @public\n */\nexport const isServer: boolean = !isBrowser;\n\n/**\n * True when build is in dev mode.\n *\n * @public\n */\nexport const isDev: boolean = /*#__PURE__*/ (() => {\n return (globalThis as any).qDev === true;\n})();\n"],
"mappings": ";AAKO,IAAM,YAAoC,uBAC/C,OAAO,WAAW,eAClB,OAAO,gBAAgB,eACvB,CAAC,CAAC,OAAO,YACT,OAAO,WAAW,EAAE,SAAS,eAAe,GAAG;AAO1C,IAAM,WAAoB,CAAC;AAO3B,IAAM,QAAgC,uBAAM;AACjD,SAAQ,WAAmB,SAAS;AACtC,GAAG;",
"names": []
}