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

Function getQwikBuildModule

packages/qwik/src/optimizer/src/plugins/plugin.ts:902–909  ·  view source on GitHub ↗
(isServer: boolean, _target: QwikBuildTarget)

Source from the content-addressed store, hash-verified

900 const normalizePath = (id: string) => lazyNormalizePath(id);
901
902 function getQwikBuildModule(isServer: boolean, _target: QwikBuildTarget) {
903 const isDev = opts.buildMode === 'development';
904 return `// @builder.io/qwik/build
905export const isServer = ${JSON.stringify(isServer)};
906export const isBrowser = ${JSON.stringify(!isServer)};
907export const isDev = ${JSON.stringify(isDev)};
908`;
909 }
910
911 async function getQwikServerManifestModule(isServer: boolean) {
912 const manifest = isServer ? opts.manifestInput : null;

Callers 1

loadFunction · 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…