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
  • Loading branch information
kopach committed Oct 20, 2023
1 parent 1f0a54e commit 21a36c3
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 21a36c3

Please sign in to comment.