File tree 2 files changed +3
-3
lines changed
packages/@angular/cli/models
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export class NgCliWebpackConfig<T extends BuildOptions = BuildOptions> {
95
95
sourcemaps : true ,
96
96
extractCss : false ,
97
97
namedChunks : true ,
98
- aot : AngularCompilerPlugin . isSupported ( ) ,
98
+ aot : false ,
99
99
buildOptimizer : false
100
100
} ,
101
101
production : {
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ export default function () {
14
14
// These tests should be moved to the default when we use ng5 in new projects.
15
15
return Promise . resolve ( )
16
16
// tests for register_locale_data transformer
17
- . then ( ( ) => ng ( 'build' , '--locale=fr' ) )
17
+ . then ( ( ) => ng ( 'build' , '--aot' , '-- locale=fr') )
18
18
. then ( ( ) => expectFileToMatch ( 'dist/main.bundle.js' , / r e g i s t e r L o c a l e D a t a / ) )
19
19
. then ( ( ) => expectFileToMatch ( 'dist/main.bundle.js' , / a n g u l a r _ c o m m o n _ l o c a l e s _ f r / ) )
20
20
. then ( ( ) => rimraf ( 'dist' ) )
21
- . then ( ( ) => expectToFail ( ( ) => ng ( 'build' , '--locale=no-locale' ) ) )
21
+ . then ( ( ) => expectToFail ( ( ) => ng ( 'build' , '--aot' , '-- locale=no-locale') ) )
22
22
}
You can’t perform that action at this time.
0 commit comments