From 7e282f65df0061b5864598812fdce081f1701b72 Mon Sep 17 00:00:00 2001 From: Ihor Date: Wed, 18 Oct 2023 21:01:36 +0200 Subject: [PATCH] fix(bundling): use workspace rootDir while compiling TS files fix: #11289 --- packages/rollup/src/executors/rollup/rollup.impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rollup/src/executors/rollup/rollup.impl.ts b/packages/rollup/src/executors/rollup/rollup.impl.ts index 5b9ee1ddeba72f..95824d262de5ae 100644 --- a/packages/rollup/src/executors/rollup/rollup.impl.ts +++ b/packages/rollup/src/executors/rollup/rollup.impl.ts @@ -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,