You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.mjs and .ejs files not recognized by AST extractor #365
My entire codebase uses .mjs (ES modules with import/export) and .ejs (Express templates). Graphify skips all of them silently during graph building, reporting only 3 code files detected out of 75+ .mjs files.
.mjs is standard modern JavaScript — same language as .js, just with explicit ES module syntax. It should be treated identically to .js by the tree-sitter AST extractor.
.ejs is a widely used Node.js templating engine and should at minimum be processed as a doc via semantic extraction.
The result for my stack is that Graphify builds a graph of images and README files only, with zero architectural insight from the actual business logic layer.
Request: Add .mjs to the tree-sitter JS/TS extension list, and add .ejs to the semantic extraction doc pipeline.
Activity
fix: recognize .mjs and .ejs files in AST extractor
safishamsi commentedon Apr 15, 2026
Fixed in v0.4.15. .mjs and .ejs are now recognised by the AST extractor as JavaScript.
fix: add .mjs to AST extractor dispatch table
fix: add .mjs to AST extractor dispatch table