File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,12 +13,16 @@ pkg/cli/webapp/node_modules/
1313pkg /cli /webapp /* .tsbuildinfo
1414# goreleaser output at repo root.
1515/dist /
16- # Keep pkg/cli/webapp/dist tracked so the webapp is embedded by //go:embed in
17- # serve.go (it cannot be built in CI due to the local clicky-ui link: dependency).
18- # These negations override a global `dist/` ignore; re-include the directory
19- # before its contents.
16+ # The built webapp under pkg/cli/webapp/dist is gitignored — it's a large
17+ # minified bundle whose vite build needs a local clicky-ui link: dependency
18+ # that isn't available in CI. A global `dist/` ignore excludes the directory,
19+ # so re-include the directory first, then ignore its contents except the
20+ # .gitkeep placeholder — enough for //go:embed all:webapp/dist in serve.go to
21+ # compile. serve.go reports a missing index.html at runtime; build the real
22+ # webapp locally with `task www:build`.
2023! pkg /cli /webapp /dist /
21- ! pkg /cli /webapp /dist /**
24+ pkg /cli /webapp /dist /*
25+ ! pkg /cli /webapp /dist /.gitkeep
26+ ! pkg /cli /webapp /dist /index.html
2227.grite /
23- pkg /cli /webapp /dist /
2428hack /
Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 " />
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6+ < title > Captain</ title >
7+ < script type ="module " crossorigin src ="/assets/index-Bz3KHWSS.js "> </ script >
8+ < link rel ="stylesheet " crossorigin href ="/assets/index-CjqsAOBG.css ">
9+ </ head >
10+ < body >
11+ < div id ="root "> </ div >
12+ </ body >
13+ </ html >
You can’t perform that action at this time.
0 commit comments