(config: BuildConfig)
| 489 | } |
| 490 | |
| 491 | async function buildMiddlewareBun(config: BuildConfig) { |
| 492 | const entryPoints = [join(config.srcQwikCityDir, 'middleware', 'bun', 'index.ts')]; |
| 493 | |
| 494 | await build({ |
| 495 | entryPoints, |
| 496 | outfile: join(config.distQwikCityPkgDir, 'middleware', 'bun', 'index.mjs'), |
| 497 | bundle: true, |
| 498 | platform: 'node', |
| 499 | target: nodeTarget, |
| 500 | format: 'esm', |
| 501 | external: MIDDLEWARE_EXTERNALS, |
| 502 | plugins: [resolveRequestHandler('../request-handler/index.mjs')], |
| 503 | }); |
| 504 | } |
| 505 | |
| 506 | async function buildMiddlewareDeno(config: BuildConfig) { |
| 507 | const entryPoints = [join(config.srcQwikCityDir, 'middleware', 'deno', 'index.ts')]; |
no test coverage detected
searching dependent graphs…