Commit f1cf8ff
committed
major: build islands + scan routeDir without importing user code
This fixes a bunch of long standing issues in our tracker where a build
wouldn't finish because of importing user code. It's common for backend
apps to spawn some open ended tasks like subscribing to Deno KV or other
things. This addresses another problem of having to set up ENV vars just
for the build, even though they are technically not required to build
islands.
This also gives a roughly ~30% performance boost on cold starts.1 parent 69af00e commit f1cf8ff
42 files changed
Lines changed: 1775 additions & 1671 deletions
File tree
- init/src
- plugin-tailwindcss/src
- src
- dev
- middlewares
- plugins/fs_routes
- runtime/server
- tests
- fixture_precompile/invalid
- www
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
| 374 | + | |
| 375 | + | |
378 | 376 | | |
379 | 377 | | |
380 | 378 | | |
| |||
489 | 487 | | |
490 | 488 | | |
491 | 489 | | |
492 | | - | |
493 | 490 | | |
494 | 491 | | |
495 | | - | |
| 492 | + | |
496 | 493 | | |
497 | | - | |
| 494 | + | |
498 | 495 | | |
499 | | - | |
| 496 | + | |
500 | 497 | | |
501 | 498 | | |
502 | 499 | | |
| |||
506 | 503 | | |
507 | 504 | | |
508 | 505 | | |
509 | | - | |
| 506 | + | |
510 | 507 | | |
511 | 508 | | |
512 | 509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
0 commit comments