diff --git a/source/tools/entity/checkrefs.py b/source/tools/entity/checkrefs.py index c9591f0d88..05b2e7f196 100755 --- a/source/tools/entity/checkrefs.py +++ b/source/tools/entity/checkrefs.py @@ -711,6 +711,8 @@ class CheckRefs: for script in root_xml.findall("script"): if script.get("file"): self.deps.append((fp, Path(script.get("file")))) + if script.get("module"): + self.deps.append((fp, Path(script.get("module")))) if script.get("directory"): # If including an entire directory, find all the *.js files self.deps.extend(