We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b95933a commit 7a93551Copy full SHA for 7a93551
packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts
@@ -295,7 +295,8 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
295
);
296
}
297
298
- if (wco.tsConfig.options.target === 4) {
+ if (wco.tsConfig.options.target !== undefined &&
299
+ wco.tsConfig.options.target >= ts.ScriptTarget.ES2017) {
300
wco.logger.warn(tags.stripIndent`
301
WARNING: Zone.js does not support native async/await in ES2017.
302
These blocks are not intercepted by zone.js and will not triggering change detection.
0 commit comments