Inital commit
This commit is contained in:
23
wails_bun/README.md
Normal file
23
wails_bun/README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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:
|
||||
|
||||
```starlark
|
||||
load("@rules_wails//wails_bun:defs.bzl", "wails_bun_dev_session", "wails_bun_frontend_dev", "wails_bun_frontend_dist")
|
||||
```
|
||||
Reference in New Issue
Block a user