Skip to main content
Go to Latest
class Builder
import { Builder } from "https://deno.land/x/mesozoic@v1.0.0-alpha.2/mod.ts";

Constructors

new
Builder(context: BuildContext)

Properties

private
hasCopied: boolean
private
isValid: boolean
compile: RegExp[]
entrypoints: RegExp[]
exclude: RegExp[]
hash: RegExp[]
logger: MesozoicLogger
manifestExclude: RegExp[]

Methods

build(sources: SourceFileBag): Promise<BuildResult>
copySources(sources: SourceFileBag, destination?: string)
gatherSources(from?: string)

Walk the root for SourceFiles obeying exclusion patterns

isCompilable(source: ISource): boolean
isEntrypoint(source: ISource, aliased?): boolean
isHashable(source: ISource): boolean
isIgnored(source: ISource): boolean
isManifestExcluded(source: ISource): boolean
processSources(sources: SourceFileBag, processor: (source: ISource) => Promise<ISource> | ISource)
toManifest(sources: SourceFileBag, prefix?: string)