Skip to content

Commit

Permalink
fix(js): not generate tsconfig if already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi committed Dec 12, 2024
1 parent 0d1c960 commit f436fde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/js/src/utils/buildable-libs-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,9 @@ export function createTmpTsConfig(
process.env.NX_TASK_TARGET_TARGET ?? 'build',
'tsconfig.generated.json'
);
if (tsconfigPath === tmpTsConfigPath) {
return tsconfigPath;
}
const parsedTSConfig = readTsConfigWithRemappedPaths(
tsconfigPath,
tmpTsConfigPath,
Expand Down

0 comments on commit f436fde

Please sign in to comment.