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

x/packup/generate_assets.ts>generateAssets

📦 Zero-config web application packager for Deno
Go to Latest
function generateAssets
import { generateAssets } from "https://deno.land/x/packup@v0.2.4/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[]]>