Unverified 提交 a8fd91a4 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Allow more extensions (md + *ts / *js) (#61)

上级 60b403e9
......@@ -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"];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论