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

Function buildAdapterDenoVite

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

Source from the content-addressed store, hash-verified

276}
277
278async function buildAdapterDenoVite(config: BuildConfig) {
279 const entryPoints = [join(config.srcQwikCityDir, 'adapters', 'deno-server', 'vite', 'index.ts')];
280
281 await build({
282 entryPoints,
283 outfile: join(config.distQwikCityPkgDir, 'adapters', 'deno-server', 'vite', 'index.mjs'),
284 bundle: true,
285 platform: 'node',
286 target: nodeTarget,
287 format: 'esm',
288 external: ADAPTER_EXTERNALS,
289 plugins: [resolveAdapterShared('../../shared/vite/index.mjs')],
290 });
291
292 await build({
293 entryPoints,
294 outfile: join(config.distQwikCityPkgDir, 'adapters', 'deno-server', 'vite', 'index.cjs'),
295 bundle: true,
296 platform: 'node',
297 target: nodeTarget,
298 format: 'cjs',
299 external: ADAPTER_EXTERNALS,
300 plugins: [
301 resolveAdapterShared('../../shared/vite/index.cjs'),
302 resolveRequestHandler('../../../middleware/request-handler/index.cjs'),
303 ],
304 });
305}
306
307async function buildAdapterNodeServerVite(config: BuildConfig) {
308 const entryPoints = [join(config.srcQwikCityDir, 'adapters', 'node-server', 'vite', 'index.ts')];

Callers 1

buildQwikCityFunction · 0.85

Calls 4

joinFunction · 0.85
resolveAdapterSharedFunction · 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…