Skip to main content
zerotal

Documentation


Documentation / @zerotal/core / config / AppAssetsConfig

Interface: AppAssetsConfig

Defined in: config/AppConfig.ts:60

Front-end asset bundling. When set, bun zerotal serve bundles the entrypoint(s) with Bun's native bundler before starting (and rebuilds them on change under serve --dev). A JS/TS entry may import its CSS — Bun emits a sibling stylesheet. Tailwind v4 is picked up automatically when bun-plugin-tailwind is installed in the app.

Properties

entrypoint

entrypoint: string | string[]

Defined in: config/AppConfig.ts:62

Entry file(s) to bundle, relative to the app root (e.g. resources/js/app.ts).


outDir

outDir: string

Defined in: config/AppConfig.ts:64

Output directory for built bundles, relative to the app root. Default: public.


prefix

prefix: string

Defined in: config/AppConfig.ts:66

URL prefix the built assets are served under. Default: /.


minify

minify: boolean

Defined in: config/AppConfig.ts:68

Minify output. Default: true in production, false otherwise.