Skip to content

Commit 26c8684

Browse files
JoshuaCWebDeveloperleosvelperez
authored andcommitted
fix(js): Use correctly resolved path to tsconfig in readTsConfigWithRemappedPaths() (#30156)
## Current Behavior When `buildLibsFromSource: false`, webpack fails to resolve custom entries in the tsconfig `paths` ## Expected Behavior The tsconfig paths will be correctly loaded by webpack and resolved. ## Related Issue(s) Fixes #30155. Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com> (cherry picked from commit 2fd964f)
1 parent 73caa25 commit 26c8684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/js/src/utils/buildable-libs-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function readTsConfigWithRemappedPaths(
213213
normalizedTsConfig
214214
);
215215
generatedTsConfig.compilerOptions.paths = computeCompilerOptionsPaths(
216-
originalTsconfigPath,
216+
normalizedTsConfig,
217217
dependencies
218218
);
219219

0 commit comments

Comments
 (0)