feat(cli): Enhance CLI for TypeScript folder compilation ordering based on rank and predefined rules.
This commit is contained in:
@@ -62,6 +62,9 @@ export const mergeCompilerOptions = (
|
||||
if (tsconfig && tsconfig.compilerOptions && tsconfig.compilerOptions.paths) {
|
||||
console.log('paths found in tsconfig.json');
|
||||
returnObject.paths = tsconfig.compilerOptions.paths;
|
||||
for (const path of Object.keys(tsconfig.compilerOptions.paths)) {
|
||||
returnObject.paths[path][0] = returnObject.paths[path][0].replace('./ts_', './dist_ts_');
|
||||
}
|
||||
}
|
||||
return returnObject;
|
||||
})(),
|
||||
|
Reference in New Issue
Block a user