Commit 10ed1ec
committed
build(react): output bundle to its own dist/ instead of SignallingWebServer/www/ (#874)
Both reference frontend implementations were writing to
SignallingWebServer/www/ with `clean: true`, so a top-level
`npm run build --ws` ran the TS impl first and then had its output
wiped by the React impl that ran second. Wilbur was then served the
React impl's minimal page (auto-connect, no UI overlay) instead of
the TS reference frontend.
Point the React webpack at a local dist/ directory so the two
implementations no longer collide. WEBPACK_OUTPUT_PATH is honoured
for symmetry with the TS impl, and the readme documents how to have
Wilbur serve this bundle via --http_root.
(cherry picked from commit 1096245)1 parent e120706 commit 10ed1ec
2 files changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
| |||
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
72 | | - | |
| 77 | + | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
0 commit comments