We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ad1062 commit c6d1c99Copy full SHA for c6d1c99
packages/@ngtools/webpack/src/paths-plugin.ts
@@ -54,7 +54,7 @@ export class PathsPlugin implements Tapable {
54
if (tsConfig.error) {
55
throw tsConfig.error;
56
}
57
- return tsConfig.config;
+ return tsConfig.config.compilerOptions;
58
59
60
constructor(options: PathsPluginOptions) {
@@ -110,7 +110,7 @@ export class PathsPlugin implements Tapable {
110
111
112
apply(resolver: ResolverPlugin): void {
113
- let { baseUrl } = this._compilerOptions;
+ let baseUrl = this._compilerOptions.baseUrl || '.';
114
115
if (baseUrl) {
116
resolver.apply(new ModulesInRootPlugin('module', this._absoluteBaseUrl, 'resolve'));
0 commit comments