Skip to main content
Module

x/aleph/bundler/mod.ts>Bundler

The Full-stack Framework in Deno.
Very Popular
Go to Latest
class Bundler
import { Bundler } from "https://deno.land/x/aleph@v0.3.0-beta.8/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.

create polyfills bundle.

private
compile(mod: Module, externals: string[]): Promise<string>
private
copyBundleFile(jsFilename: string)
private
createMainJS()
getSyncChunks(): string[]