Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/js/deno_unstable.ts>bundle

A modern runtime for JavaScript and TypeScript.
Go to Latest
function bundle
import { bundle } from "https://deno.land/x/deno@v1.0.0/cli/js/deno_unstable.ts";

Parameters

rootName: string
optional
sources: Record<string, string>
optional
options: CompilerOptions = [UNSUPPORTED]

Returns

Promise<[DiagnosticItem[] | undefined, string]>