Skip to content

Commit

Permalink
refactor(@ngtools/webpack): remove deprecated isSupported method
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
`isSupported` method has been removed from `AngularCompilerPlugin` as it has become redundant with peer dependencies.

Note: this change only effects direct `@ngtools/webpack` users and not the application developers.
  • Loading branch information
alan-agius4 authored and dgp1130 committed May 5, 2020
1 parent 6c8b0f1 commit 51de4f7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/ngtools/webpack/src/angular_compiler_plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
Program,
SOURCE,
UNKNOWN_ERROR_CODE,
VERSION,
createCompilerHost,
createProgram,
formatDiagnostics,
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 51de4f7

Please sign in to comment.