move renaming logic into profiles
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user