Skip to content

Commit 51de4f7

Browse files
alan-agius4dgp1130
authored andcommittedMay 5, 2020
refactor(@ngtools/webpack): remove deprecated isSupported method
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.
1 parent 6c8b0f1 commit 51de4f7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

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

-6
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import {
2424
Program,
2525
SOURCE,
2626
UNKNOWN_ERROR_CODE,
27-
VERSION,
2827
createCompilerHost,
2928
createProgram,
3029
formatDiagnostics,
@@ -156,11 +155,6 @@ export class AngularCompilerPlugin {
156155
return tsProgram ? tsProgram.getTypeChecker() : null;
157156
}
158157

159-
/** @deprecated From 8.0.2 */
160-
static isSupported() {
161-
return VERSION && parseInt(VERSION.major) >= 8;
162-
}
163-
164158
private _setupOptions(options: AngularCompilerPluginOptions) {
165159
time('AngularCompilerPlugin._setupOptions');
166160
this._logger = options.logger || createConsoleLogger();

0 commit comments

Comments
 (0)
Please sign in to comment.