diff --git a/shared/sx/ref/bootstrap_py.py b/shared/sx/ref/bootstrap_py.py index 34924f7..53cdf3d 100644 --- a/shared/sx/ref/bootstrap_py.py +++ b/shared/sx/ref/bootstrap_py.py @@ -1051,10 +1051,13 @@ def compile_ref_to_py( if sm not in SPEC_MODULES: raise ValueError(f"Unknown spec module: {sm!r}. Valid: {', '.join(SPEC_MODULES)}") spec_mod_set.add(sm) + # html adapter needs deps (component analysis) and signals (island rendering) + if "html" in adapter_set: + if "deps" in SPEC_MODULES: + spec_mod_set.add("deps") + if "signals" in SPEC_MODULES: + spec_mod_set.add("signals") has_deps = "deps" in spec_mod_set - # html adapter uses signal runtime for server-side island rendering - if "html" in adapter_set and "signals" in SPEC_MODULES: - spec_mod_set.add("signals") # Core files always included, then selected adapters, then spec modules sx_files = [