Skip to main content
Module

x/packup/generate_assets.ts>generateAssets

📦 Zero-config web application packager in Deno
Go to Latest
function generateAssets
import { generateAssets } from "https://deno.land/x/packup@v0.2.2/generate_assets.ts";

Generates assets from the given entrypoint path (html). Also returns watch paths when watchPaths option is true.

Used both in packup build and packup serve.

Parameters

path: string
opts: GenerateAssetsOptions

Returns

Promise<[AsyncGenerator<File, void, void>, string[]]>