diff --git a/src/match/match.ts b/src/match/matches.ts similarity index 100% rename from src/match/match.ts rename to src/match/matches.ts diff --git a/tasks/build.ts b/tasks/build.ts index ae9be56..69e085b 100644 --- a/tasks/build.ts +++ b/tasks/build.ts @@ -25,7 +25,7 @@ function getDomains() { const matchesRegex = new RegExp(/export\s+const\s+matches\s+=\s+(?\[.*?])/gms) const matchesClassesRegex = new RegExp(/(?\w+)\(\)/gms) - const matchTs = fs.readFileSync('src/match/match.ts') + const matchTs = fs.readFileSync('src/match/matches.ts') const jsMatches = matchesRegex.exec(matchTs).groups.matches let m while ((m = matchesClassesRegex.exec(jsMatches))) {