import { Bundler } from "https://deno.land/x/deno_bundler@v0.9.1/mod.ts";
Properties
logger: Logger
Methods
private
createCacheFilePath(bundleInput: string,
input: string,
cacheDirPath: string,
private
splitChunk(chunk: Chunk,
context: Context,
chunkList: Item[],
allItems: Record<string, Set<DependencyType>>,
bundle(inputs: string[], options?: BundleOptions)
createAsset(item: Item, context: Context): Promise<Asset>
createBundle(chunk: Chunk, context: Context)
createBundles()
chunks: Chunks,
graph: Graph,
options?: CreateBundleOptions,
createChunk()
item: Item,
context: Context,
chunkList: Item[],
createChunks()
inputs: string[],
graph: Graph,
options?: CreateChunkOptions,
createGraph(inputs: string[], options?: CreateGraphOptions)
getCache()
bundleInput: string,
input: string,
context: Context,
hasCache()
bundleInput: string,
input: string,
context: Context,
returns true if an entry exists in context.cache
or cacheFile mtime
is bigger than sourceFile mtime
optimizeBundle(chunk: Chunk, context: Context)
readSource(item: Item, context: Context): Promise<Source>
setCache()
bundleInput: string,
input: string,
source: string,
context: Context,
transformSource()
bundleInput: string,
item: Item,
context: Context,