Skip to content

Commit

Permalink
fix: resolve .vue files
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Sep 16, 2024
1 parent e45d31e commit b3d1b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tsconfck/src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const NATIVE_SEP_RE = new RegExp('\\' + path.sep, 'g');
/** @type {Map<string,RegExp>}*/
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('|')})`;
Expand Down

0 comments on commit b3d1b6d

Please sign in to comment.