Files
wails_tools/wails_bun
2026-03-12 18:58:43 +01:00
..
2026-03-12 18:58:43 +01:00
2026-03-12 18:58:43 +01:00
2026-03-12 18:58:43 +01:00
2026-03-12 18:58:43 +01:00
2026-03-12 18:58:43 +01:00

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_dist
  • wails_bun_frontend_dev
  • wails_bun_dev_session
  • wails_bun_app

Important contract:

  • ts_library is not enough for frontend package staging.
  • Package-source targets passed to wails_bun_frontend_dist should include both the package sources and package.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")