Skip to content
Meeko
Type to search the guides and the API reference. Open it from any page with / or Ctrl K; move with the arrow keys and open a result with Enter.
Get started

Contents

On this page

Not translated yet

This page has not been translated into English yet, so it is shown in Spanish.

BunAssetReaderOptions

interfaz

Opciones de createBunAssetReader.

ts
import type { BunAssetReaderOptions } from "@meekojs/meeko/bun";

Source code src/bun.ts:289

Declaración #

ts
interface BunAssetReaderOptions {
	readonly root: string | URL
	readonly assets: AssetManifest
}

Example #

ts
import type { BunAssetReaderOptions } from "@meekojs/meeko/bun";

const options: BunAssetReaderOptions = { root: new URL("./client/", import.meta.url), assets: manifest.assets ?? {} };

Propiedades #

root #

propiedad sólo lectura

readonly root: string | URL

Carpeta que contiene los archivos listados en assets, como ruta o URL file:.

assets #

propiedad sólo lectura

readonly assets: AssetManifest

Manifiesto de los archivos públicos.

See also #

Was this page helpful?

Add a comment

It is sent when you choose “Yes” or “No”. Only the page, your answer and the comment are stored: no cookies and no personal data.

0 of 2000 characters

Edit on GitHub: packages/meeko/src/bun.ts