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

Function buildAdapterNodeServerVite

scripts/qwik-city.ts:307–331  ·  view source on GitHub ↗
(config: BuildConfig)

Source from the content-addressed store, hash-verified

305}
306
307async function buildAdapterNodeServerVite(config: BuildConfig) {
308 const entryPoints = [join(config.srcQwikCityDir, 'adapters', 'node-server', 'vite', 'index.ts')];
309
310 await build({
311 entryPoints,
312 outfile: join(config.distQwikCityPkgDir, 'adapters', 'node-server', 'vite', 'index.mjs'),
313 bundle: true,
314 platform: 'node',
315 target: nodeTarget,
316 format: 'esm',
317 external: ADAPTER_EXTERNALS,
318 plugins: [resolveAdapterShared('../../shared/vite/index.mjs')],
319 });
320
321 await build({
322 entryPoints,
323 outfile: join(config.distQwikCityPkgDir, 'adapters', 'node-server', 'vite', 'index.cjs'),
324 bundle: true,
325 platform: 'node',
326 target: nodeTarget,
327 format: 'cjs',
328 external: ADAPTER_EXTERNALS,
329 plugins: [resolveAdapterShared('../../shared/vite/index.cjs')],
330 });
331}
332
333async function buildAdapterNetlifyEdgeVite(config: BuildConfig) {
334 const entryPoints = [join(config.srcQwikCityDir, 'adapters', 'netlify-edge', 'vite', 'index.ts')];

Callers 1

buildQwikCityFunction · 0.85

Calls 3

joinFunction · 0.85
resolveAdapterSharedFunction · 0.85
buildFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…