Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aleph/server/build.ts>build

The Full-stack Framework in Deno.
Go to Latest
function build
import { build } from "https://deno.land/x/aleph@1.0.0-alpha.58/server/build.ts";

Build the app into a worker for serverless platform. Functions include:

  • import routes modules (since deno-deploy/cloudflare don't support dynamic import)
  • apply module loaders
  • pre-compile/bundle client modules
  • resolve import maps

after build, you need to bootstrap the server from ./dist/server.js

Parameters

optional
serverEntry: string