import { Bundler } from "https://deno.land/x/aleph@v0.3.0-beta.3/bundler/mod.ts";
The bundler class for aleph server.
Constructors
new
Bundler(app: Aleph)Methods
private
build(entryFile: string, bundleFile: string)run deno bundle and compress the output using terser.
private
bundleChunk(name: string,
entry: string[],
external: string[],
asyncChunk?: boolean,
create bundle chunk.
private
copyBundleFile(jsFilename: string)private
createMainJS()bundle(entries: DependencyGraph[])
copyDist()
getSyncChunks(): string[]