Commit a65b4cc
committed
fix(dev): JSONC-aware parse of wrangler configs in dev.ts
pnpm dev did a raw JSON.parse on the worker wrangler.jsonc files, which choke on
the // comments the gateway config gained in 01339c3 (Polar billing). Add a
string-safe stripJsonc (line/block comments + trailing commas) so the dev server
starts. Pre-existing breakage surfaced when restarting the dev server.1 parent 9bbde5f commit a65b4cc
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
229 | 244 | | |
230 | 245 | | |
231 | | - | |
| 246 | + | |
232 | 247 | | |
233 | 248 | | |
234 | 249 | | |
| |||
0 commit comments