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

Function buildMiddlewareDeno

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

Source from the content-addressed store, hash-verified

504}
505
506async function buildMiddlewareDeno(config: BuildConfig) {
507 const entryPoints = [join(config.srcQwikCityDir, 'middleware', 'deno', 'index.ts')];
508
509 await build({
510 entryPoints,
511 outfile: join(config.distQwikCityPkgDir, 'middleware', 'deno', 'index.mjs'),
512 bundle: true,
513 platform: 'node',
514 target: nodeTarget,
515 format: 'esm',
516 external: MIDDLEWARE_EXTERNALS,
517 plugins: [resolveRequestHandler('../request-handler/index.mjs')],
518 });
519}
520
521async function buildMiddlewareNetlifyEdge(config: BuildConfig) {
522 const entryPoints = [join(config.srcQwikCityDir, 'middleware', 'netlify-edge', '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…