Commit 60808b8
committed
Exclude .map files from embedded web UI in CLI binary
The CLI build embeds all web UI assets including 25MB of JavaScript source maps (.map files). These are only used for Sentry uploads in the hosted deployment — dead weight in a compiled Bun binary.
One-line filter in build.ts's glob excludes .map files from embedding.
Experiments: #2
Metric: size_kb 167,666 → 143,658 (-14.3%)1 parent 0956b15 commit 60808b8
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
0 commit comments