diff --git a/packages/tsconfck/src/util.js b/packages/tsconfck/src/util.js index 3ef3914..cd5b6ad 100644 --- a/packages/tsconfck/src/util.js +++ b/packages/tsconfck/src/util.js @@ -6,7 +6,7 @@ const NATIVE_SEP_RE = new RegExp('\\' + path.sep, 'g'); /** @type {Map}*/ const PATTERN_REGEX_CACHE = new Map(); const GLOB_ALL_PATTERN = `**/*`; -const TS_EXTENSIONS = ['.ts', '.tsx', '.mts', '.cts']; +const TS_EXTENSIONS = ['.ts', '.tsx', '.mts', '.cts', '.vue']; const JS_EXTENSIONS = ['.js', '.jsx', '.mjs', '.cjs']; const TSJS_EXTENSIONS = TS_EXTENSIONS.concat(JS_EXTENSIONS); const TS_EXTENSIONS_RE_GROUP = `\\.(?:${TS_EXTENSIONS.map((ext) => ext.substring(1)).join('|')})`;