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>
This commit is contained in:
parent
64030f55b5
commit
2fd964fd3f
@ -213,7 +213,7 @@ function readTsConfigWithRemappedPaths(
|
||||
normalizedTsConfig
|
||||
);
|
||||
generatedTsConfig.compilerOptions.paths = computeCompilerOptionsPaths(
|
||||
originalTsconfigPath,
|
||||
normalizedTsConfig,
|
||||
dependencies
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user