Skip to content

Commit

Permalink
fix(bundling): scope types temp dir to the project in rollup executor
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Jul 27, 2023
1 parent 1ec1c84 commit 6de4c81
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/rollup/src/executors/rollup/lib/normalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ export function normalizeRollupExecutorOptions(
projectRoot,
outputPath,
skipTypeCheck: options.skipTypeCheck || false,
typesTmpDir: join(root, 'tmp', '__nx__types__'),
typesTmpDir: join(
root,
'tmp',
'__nx__rollup__types__',
relative(root, projectRoot)
),
};
}

Expand Down

0 comments on commit 6de4c81

Please sign in to comment.