MCPcopy Index your code
hub / github.com/QwikDev/qwik / getIsServer

Function getIsServer

packages/qwik/src/optimizer/src/plugins/plugin.ts:424–426  ·  view source on GitHub ↗
(viteOpts?: { ssr?: boolean })

Source from the content-addressed store, hash-verified

422 };
423
424 const getIsServer = (viteOpts?: { ssr?: boolean }) => {
425 return devServer ? !!viteOpts?.ssr : opts.target === 'ssr' || opts.target === 'test';
426 };
427
428 let resolveIdCount = 0;
429 let doNotEdit = false;

Callers 3

resolveIdFunction · 0.85
loadFunction · 0.85
transformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…