codemap icon indicating copy to clipboard operation
codemap copied to clipboard

config: auto-written 'only' list can exclude .mjs files the repo uses

Open JordanCoin opened this issue 1 month ago • 0 comments

On first run codemap auto-writes .codemap/config.json with an only list of detected extensions. On affaan-m/ECC it wrote only: [js, py, yaml, cjs, sh], dropping .mjs, so none of the repo's 15 .mjs files was indexed (11 true edges lost, including literal await import(...) from indexed .js files).

Expected: the auto config never excludes a source extension the repo contains, or at minimum treats .mjs/.cjs as part of JavaScript when js is selected.

Found by the import-accuracy benchmark (#264). Part of #239.

JordanCoin avatar Nov 03 '26 18:11 JordanCoin