Skip to content

Commit

Permalink
fix(bundling): use workspace rootDir while compiling TS files
Browse files Browse the repository at this point in the history
fix: #11289
  • Loading branch information
kopach committed Oct 19, 2023
1 parent b9e671c commit 7e282f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rollup/src/executors/rollup/rollup.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ function createTsCompilerOptions(
) {
const compilerOptionPaths = computeCompilerOptionsPaths(config, dependencies);
const compilerOptions = {
rootDir: options.projectRoot,
rootDir: config.options.rootDir,
allowJs: options.allowJs,
declaration: true,
paths: compilerOptionPaths,
Expand Down

0 comments on commit 7e282f6

Please sign in to comment.