7 Commits

Author SHA1 Message Date
Alan Agius
5125db38f8 fix(@schematics/angular): differential loading migration should run only for projects using @angular-devkit/build-angular:browser
Differential loading migration should run only when the project is using `@angular-devkit/build-angular:browser` as it's browser builder. Otherwise we might break applications that are using different builders.

Fixes #14389
2019-05-13 15:57:26 -07:00
Alan Agius
04b854956c fix(@schematics/angular): remove old GoogleBot browserslist setting
GoogleBot is now evergreen, we don't need to specialcase it: https://webmasters.googleblog.com/2019/05/the-new-evergreen-googlebot.html?m=1

Fixes #14364
2019-05-09 10:08:52 -07:00
Alan Agius
c1e65294e7 fix(@schematics/angular): older projects are not migrated to support differential loading
Fixes #14321
2019-05-07 16:14:50 -06:00
Alan Agius
0a6df3e824 fix(@schematics/angular): move and update existing src/browserslist
Older projects have their `browserslist` file under the `src` folder.

Fixes #14232
2019-04-23 10:31:18 -04:00
Emilio Martinez
5f44e642ee fix(@schematics/angular): align differential loading migration to browserslist template
Modifies differential loading migration script to align with the changes in 4d7581d to support Googlebot in browserslist by default.
2019-04-23 10:29:41 -04:00
Charles Lyding
458ba75e37 fix(@schematics/angular): migrate TS module type to esnext 2019-04-22 08:16:17 -07:00
Alan Agius
359d4f97cc feat(@schematics/angular): migrate existing ES5 projects to support differential loading
With this change, differential loading will be enabled as we add an non ever green browser and change the tsconfig script target to es2015.
2019-04-15 11:30:20 -07:00