import { Bundler } from "https://deno.land/x/snel@v0.7.1/imports/bundler.ts";
Constructors
new
Bundler(plugins: Plugin[])Methods
private
createCacheFilePath(bundleInput: string,
input: string,
cacheDirPath: string,
private
splitChunk()bundle(inputs: string[], options?: BundleOptions)
createAsset(item: Item, context: Context): Promise<Asset>
createBundle(chunk: Chunk, context: Context)
createGraph(inputs: string[], options?: CreateGraphOptions)
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>