import { Builder } from "https://dotland.deno.dev/x/ultra@v2.3.0/lib/build/deps.ts";
Constructors
new
Builder(context: BuildContext, options?: BuilderOptions)Methods
addEntrypoint(name: string, config: EntrypointConfig)
build(buildSources: FileBag): Promise<BuildResult>
compileSource(source: IFile): Promise<IFile>
compileSources(sources: FileBag)
copySource(source: IFile, destination?: string)
copySources(sources: FileBag, destination?: string)
getEntrypoint(name: string)
hashSources(sources: FileBag)
Returns a Map with the key being the original relative path and the value being the content hashed relative path.
isCompilable(source: IFile): boolean
isDynamicImportSpecifierIgnored(specifier: string)
isHashable(source: IFile): boolean
isIgnored(source: IFile): boolean
setEntrypoints(entrypoints: BuilderEntrypoints)
toManifest(sources: FileBag, unnamed 1?: { ignore?: string[]; prefix?: string; } | undefined)