# bun_vite

Minimal Bun-layer shape:

```bzl
load("@rules_wails//wails_bun:defs.bzl", "wails_bun_app")

wails_bun_app(
    name = "desktop",
    app_binary = ":desktop_bin",
    frontend_srcs = [
        ":frontend_sources",
        "//pkgs/ui-kit:ui_kit_sources",
    ],
    package_json = "frontend/package.json",
    node_modules = "@deps//:node_modules",
    build_asset_srcs = ["build/config.yml"],
    app_name = "desktop",
    binary_name = "desktop",
    frontend_strip_prefix = "frontend/",
    build_strip_prefix = "build/",
)
```

For Bun staging, each workspace package source target should include `package.json`.
