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

Constructors

new
Builder(context: BuildContext)

Properties

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

Methods

add(path: string)
build(sources: SourceFileBag): Promise<BuildResult>
copySources(sources: SourceFileBag, destination?: string)

Walk the root for SourceFiles obeying exclusion patterns

isCompilable(source: SourceFile): boolean
isEntrypoint(source: SourceFile, aliased?): boolean
isHashable(source: SourceFile): boolean
isIgnored(source: SourceFile): boolean
isManifestExcluded(source: SourceFile): boolean
processSources(sources: SourceFileBag, processor: (source: SourceFile) => Promise<SourceFile> | SourceFile)
relative(path: string, to?: string)
resolve(path: string, from?: string)
resolveSource(path: string)
toManifest(sources: SourceFileBag, prefix?: string)