MCPcopy
hub / github.com/QwikDev/qwik / buildMiddlewareAzureSwa

Function buildMiddlewareAzureSwa

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

Source from the content-addressed store, hash-verified

444}
445
446async function buildMiddlewareAzureSwa(config: BuildConfig) {
447 const entryPoints = [join(config.srcQwikCityDir, 'middleware', 'azure-swa', 'index.ts')];
448
449 await build({
450 entryPoints,
451 outfile: join(config.distQwikCityPkgDir, 'middleware', 'azure-swa', 'index.mjs'),
452 bundle: true,
453 platform: 'node',
454 target: nodeTarget,
455 format: 'esm',
456 external: MIDDLEWARE_EXTERNALS,
457 plugins: [resolveRequestHandler('../request-handler/index.mjs')],
458 });
459}
460
461async function buildMiddlewareAwsLambda(config: BuildConfig) {
462 const entryPoints = [join(config.srcQwikCityDir, 'middleware', 'aws-lambda', 'index.ts')];

Callers 1

buildQwikCityFunction · 0.85

Calls 3

joinFunction · 0.85
resolveRequestHandlerFunction · 0.85
buildFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…