diff --git a/decnet/swarm/bundle_builder.py b/decnet/swarm/bundle_builder.py index bda76d4c..d5fb4c86 100644 --- a/decnet/swarm/bundle_builder.py +++ b/decnet/swarm/bundle_builder.py @@ -79,7 +79,7 @@ def _iter_included(root: pathlib.Path) -> list[tuple[pathlib.Path, str]]: dirnames[:] = [ d for d in dirnames - if d != "__pycache__" + if d not in ("__pycache__", "node_modules") and f"{rel_dir}/{d}" not in _EXCLUDED_DECNET_SUBTREES ]