Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/bundlee/mod.ts>Bundlee#import

Bundle static assets to a single JSON-file.
Go to Latest
method Bundlee.prototype.import
import { Bundlee } from "https://deno.land/x/bundlee@0.9.3/mod.ts";

Imports a bundle JSON file.

Used by the load()-factory

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".