Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pup/plugins/web-interface/deps.ts>Bundlee.load

Universal process manager built in Deno
Go to Latest
method Bundlee.load
import { Bundlee } from "https://deno.land/x/pup@1.0.0-beta.20/plugins/web-interface/deps.ts";

Factory function that loads a bundle JSON file and creates a new instance of Bundlee.

Parameters

fileUrl: string

The URL of the bundle JSON file.

optional
importType: "import" | "fetch" | "local" = [UNSUPPORTED]

The type of import to use. Possible values are "import", "fetch", and "local". The default value is "local".

Returns

Promise<Bundlee>

A promise that resolves to a new instance of Bundlee.