Skip to content

Commit 8ca3de7

Browse files
clydinhansl
authored andcommitted
fix(@ngtools/webpack): support AngularCompilerPlugin compilerOptions
1 parent a39fad3 commit 8ca3de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@ngtools/webpack/src/angular_compiler_plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export class AngularCompilerPlugin implements Tapable {
174174
}
175175

176176
this._rootNames = config.rootNames.concat(...this._singleFileIncludes);
177-
this._compilerOptions = config.options;
177+
this._compilerOptions = { ...config.options, ...options.compilerOptions };
178178
this._basePath = config.options.basePath;
179179

180180
// Overwrite outDir so we can find generated files next to their .ts origin in compilerHost.

0 commit comments

Comments
 (0)