rules_wails Bun integration
Optional rules_bun integration for Wails projects that build their frontend
with Bun and Vite-style package scripts.
Public API:
wails_bun_frontend_distwails_bun_frontend_devwails_bun_dev_sessionwails_bun_app
Important contract:
ts_libraryis not enough for frontend package staging.- Package-source targets passed to
wails_bun_frontend_distshould include both the package sources andpackage.json. - Consumers should provide package-source targets that include both application sources and
package.json.
Load with:
load("@rules_wails//wails_bun:defs.bzl", "wails_bun_dev_session", "wails_bun_frontend_dev", "wails_bun_frontend_dist")