diff --git a/packages/ngtools/webpack/src/angular_compiler_plugin.ts b/packages/ngtools/webpack/src/angular_compiler_plugin.ts index 17a166d4348c..c2ed7981f93c 100644 --- a/packages/ngtools/webpack/src/angular_compiler_plugin.ts +++ b/packages/ngtools/webpack/src/angular_compiler_plugin.ts @@ -24,7 +24,6 @@ import { Program, SOURCE, UNKNOWN_ERROR_CODE, - VERSION, createCompilerHost, createProgram, formatDiagnostics, @@ -156,11 +155,6 @@ export class AngularCompilerPlugin { return tsProgram ? tsProgram.getTypeChecker() : null; } - /** @deprecated From 8.0.2 */ - static isSupported() { - return VERSION && parseInt(VERSION.major) >= 8; - } - private _setupOptions(options: AngularCompilerPluginOptions) { time('AngularCompilerPlugin._setupOptions'); this._logger = options.logger || createConsoleLogger();