Commit c81143d
committed
refactor(runtime): reduce surface to a mechanism-only dev-loader contract
The runtime explicitly does not implement HMR policy. import.meta.hot, the
hot-data/accept/dispose/prune registries, and dev-session state move to
the JS HMR clients (eg, @nativescript/vite); native keeps only the sync HTTP
module fetch, prewarm cache + list-mode kickstart, eviction plumbing,
and the dev-boot-complete signal. Dev helpers are consolidated under
__NS_DEV__1 parent ad36928 commit c81143d
15 files changed
Lines changed: 482 additions & 3179 deletions
File tree
- NativeScript/runtime
- TestRunnerTests
- TestRunner/app/tests
- esm/hmr
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 17 | | |
24 | 18 | | |
25 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 19 | | |
55 | 20 | | |
56 | 21 | | |
| |||
Large diffs are not rendered by default.
0 commit comments