diff --git a/src/utils/codebase.ts b/src/utils/codebase.ts index 29ea48c..ad83be1 100644 --- a/src/utils/codebase.ts +++ b/src/utils/codebase.ts @@ -7,7 +7,19 @@ import log from "electron-log"; const logger = log.scope("utils/codebase"); // File extensions to include in the extraction -const ALLOWED_EXTENSIONS = [".ts", ".tsx", ".js", ".jsx", ".css", ".html"]; +const ALLOWED_EXTENSIONS = [ + ".ts", + ".tsx", + ".js", + ".jsx", + ".mjs", + ".cjs", + ".mts", + ".cts", + ".css", + ".html", + ".md", +]; // Directories to always exclude const EXCLUDED_DIRS = ["node_modules", ".git", "dist", "build"];