Commit fbc1429
committed
build: derive schematic entry points from a single list
compileSchematics and loadCompiledSchematics each carried their own
hardcoded copy of the seven entry points. An entry point added to the
esbuild list alone would compile but never be load-checked, which is
the exact failure the load check exists to catch.
Both now map one schematicEntryPoints array, to .ts for esbuild and to
.js for the require check. Emitted paths and failure strings are
unchanged: a build with a deliberate top-level throw added to
deploy/actions.ts still fails, and still names deploy/actions.js and
deploy/builder.js in the same format.1 parent 5c7aba4 commit fbc1429
1 file changed
Lines changed: 16 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
316 | 328 | | |
317 | 329 | | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
| 330 | + | |
327 | 331 | | |
328 | 332 | | |
329 | 333 | | |
| |||
365 | 369 | | |
366 | 370 | | |
367 | 371 | | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | 372 | | |
378 | | - | |
379 | | - | |
| 373 | + | |
380 | 374 | | |
381 | | - | |
| 375 | + | |
382 | 376 | | |
383 | | - | |
| 377 | + | |
384 | 378 | | |
385 | 379 | | |
386 | 380 | | |
| |||
0 commit comments