move renaming logic into profiles

This commit is contained in:
Joe Danziger
2025-05-11 15:38:29 -04:00
parent f8040eccc8
commit 06d7750886
4 changed files with 37 additions and 15 deletions

View File

@@ -67,4 +67,15 @@ const conversionConfig = {
}
};
export { conversionConfig, fileMap, globalReplacements, brandName, rulesDir };
function getTargetRuleFilename(sourceFilename) {
return fileMap[sourceFilename] || sourceFilename;
}
export {
conversionConfig,
fileMap,
globalReplacements,
brandName,
rulesDir,
getTargetRuleFilename
};