import { Builder } from "https://dotland.deno.dev/x/ultra@v2.0.0-alpha.19/lib/build/deps.ts";
Properties
entrypoints: Map<string, EntrypointConfig>
Methods
build(sources: FileBag): Promise<BuildResult>
compileSource(source: IFile): Promise<IFile>
compileSources(sources: FileBag)
copySource(source: IFile, destination?: string)
copySources(sources: FileBag, destination?: string)
getEntrypoint(path: string)
isCompilable(source: IFile): boolean
isDynamicImportSpecifierExcluded(specifier: string)
isEntrypoint(source: IFile): boolean
isExcluded(source: IFile): boolean
isHashable(source: IFile): boolean
processSources(sources: FileBag, processor: (source: IFile) => Promise<IFile> | IFile)
setCompiled(paths: string[])
setDynamicImportExcluded(paths: string[])
setEntrypoints(entrypoints: BuilderEntrypoints)
setExcluded(paths: string[])
Allows excluding certain files from the build process, they won't be copied to the build output directory, so no further processing will occur on them.
setHashed(paths: string[])
toManifest(sources: FileBag, unnamed 1?: { exclude?: string[]; prefix?: string; } | undefined)