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