@vebui/deno-plugin
v0.0.1
Published
Deno build plugin for vebui — generates CSS and bundles the client
Readme
@vebui/deno-plugin
Build-time CSS extraction and client JS bundler for @vebui/core, for Deno projects.
Usage
Run alongside your app server in a separate terminal:
# Terminal 1 — vebui watcher
deno task vebui
# Terminal 2 — your app
deno run --allow-net --allow-read ./app.tsOn startup the plugin performs an initial build, then watches for changes.
Output
| File | Default path |
|---|---|
| CSS | ./assets/vebui/vebui.css |
| Client JS | ./assets/vebui/vebui.client.js |
Serve these as static files from your app.
Environment variables
| Variable | Description |
|---|---|
| VEBUI_CSS_OUT | Override the CSS output path |
| VEBUI_JS_OUT | Override the client JS output path |
| VEBUI_CONTENT | Comma-separated glob patterns for your source files (e.g. ./src/**/*.ts) |
| VEBUI_VERBOSE | Set to "true" for debug logging |
Note on watch mode
Unlike @vebui/bun-plugin (which uses Bun's --preload to run in the same process as your app), this plugin runs as a separate process. This is the standard Deno idiom — Deno has no --preload equivalent.
