DEV Community

Discussion on: "Differential Loading" - A New Feature of Angular CLI v8

 
muhammedmoussa profile image
Moussa

i added :

"browserlist": [
"last 2 version"
];

to package.json and got

An unhandled exception occurred: D:\AccFlex_Cloud_Front\accflex-erb contains both browserslist and package.json with browsers
See "C:\Users\m.mousa\AppData\Local\Temp\ng-XowNha\angular-errors.log" for further details.
Thread Thread
 
michaelz profile image
Michaël Zwyssig

either use the browserlist file or the browserlist entry in package.json. You can't use both.