import { Bundlee } from "https://deno.land/x/pup@1.0.0-beta.15/plugins/web-interface/deps.ts";
Methods
private
bundleFiles(basePath: string, fileList: string[]): Promise<Record<string, Metadata>>Bundle files into a single JSON object.
private
getContentType(filePath: string): stringprivate
recursiveReaddir(path: string, extensionFilter?: string[]): Promise<string[]>Recursively read a directory and return a list of files.
bundle(): Promise<Record<string, Metadata>>
basePath: string,
path: string,
exts?: string[],
Bundle files from a directory into a single JSON object.
import(fileUrl: string, importType?: "import" | "fetch" | "local")
Imports a bundle JSON file.
Used by the load()-factory