import { Bundler } from "https://deno.land/x/aleph@v0.3.0-alpha.11/server/bundler.ts";
The bundler class for aleph server.
Constructors
new
Bundler(app: Application)Methods
private
_bundle(bundleEntryFile: string, bundleFile: string)run deno bundle and compress the output using terser.
private
copyBundleFile(jsFilename: string)private
createMainJS()bundle(entryMods: Array<{ url: string; shared: boolean; }>)
copyDist()
getBundledFile(name: string): string | null