import { Application } from "https://deno.land/x/aleph@v0.3.0-alpha.5/server/app.ts";
The Aleph Server Application class.
Methods
bundle modules for production.
check compilation side-effect caused by dependency graph.
download and compile a moudle by given url, then cache on the disk.
create chunk bundle.
create page bundle.
create polyfill bundle.
fetch dependency content, use deno builtin cache system
fix import url
returns the route module by given module.
initialize project
check a page whether is ssrable.
lookup deps recurively.
optimize for production.
preprocess css with postcss plugins
render custom 404 page.
render custom loading page for SPA mode.
render page base the given location.
run deno bundle and compess the output with terser.
render all pages in routing.
transpile code without types checking.
watch file changes, re-compile modules and send HMR signal.
add a new page module by given path and source code.
build the application to a static site(SSG)
get main js.
inject HMR code
add a new page module by given path and source code.