File tree 1 file changed +2
-1
lines changed
packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 5
5
* Use of this source code is governed by an MIT-style license that can be
6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
+ import { tags } from '@angular-devkit/core' ;
8
9
import * as CopyWebpackPlugin from 'copy-webpack-plugin' ;
9
10
import * as path from 'path' ;
10
11
import { HashedModuleIdsPlugin , debug } from 'webpack' ;
@@ -273,7 +274,7 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
273
274
}
274
275
275
276
if ( wco . tsConfig . options . target === 4 ) {
276
- wco . logger . warn ( `\nWARNING : Zone.js does not support native async/await
277
+ wco . logger . warn ( tags . stripIndent `WARNING : Zone.js does not support native async/await
277
278
(https://github.com/angular/zone.js/pull/1140) in ES2017. Code inside async/await blocks
278
279
is invisible to zone.js thus not triggering change detection.` ) ;
279
280
}
You can’t perform that action at this time.
0 commit comments