Skip to main content
Module

x/bundler/mod.ts>bundle

A Bundler with the web in mind.
Go to Latest
function bundle
import { bundle } from "https://deno.land/x/bundler@0.2.1/mod.ts";

Parameters

inputMap: InputMap
outputMap: OutputMap
optional
unnamed 2: { outDir?: string; depsDir?: string; cacheDir?: string; compilerOptions?: CompilerOptions; importMap?: ImportMap; graph?: Graph; transformers?: Plugin[]; optimizers?: Plugin[]; reload?: boolean; optimize?: boolean; } = [UNSUPPORTED]

Returns

Promise<{ modules: ModuleMap; graph: Graph; }>