Commit 0bcc5af
perf(scripts,ui-themes): optimize bootstrap with parallel builds
Performance improvements:
- Run SWC compilation and TypeScript declarations in parallel
- Move token generation after parallel build phase (requires SWC output)
- Add "type": "module" to ui-themes to eliminate Node.js reparse overhead
Results:
- Bootstrap time reduced from ~50s to ~35s (30% faster)
- SWC (24s) + TypeScript (31s) now run concurrently (31s total)
- Token generation optimized to 0.8s
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 86f527e commit 0bcc5af
2 files changed
+24
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 128 | + | |
134 | 129 | | |
135 | | - | |
136 | | - | |
| 130 | + | |
| 131 | + | |
137 | 132 | | |
138 | 133 | | |
139 | 134 | | |
140 | 135 | | |
141 | | - | |
| 136 | + | |
142 | 137 | | |
143 | 138 | | |
144 | 139 | | |
| |||
158 | 153 | | |
159 | 154 | | |
160 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
161 | 175 | | |
162 | 176 | | |
163 | 177 | | |
| |||
0 commit comments