First, my problem is different than: Angular 12 warns about requested IE 11 support. Why?
I'm upgrading to Angular 12 and getting this warning.
Support was requested for IE 9 & IE 10 in the project's browserslist configuration. These browsers are no longer officially supported with Angular v11 and higher
I do have a browserlist file in the root directory. Contents:
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# You can see what browsers were selected by your queries by running:
# npx browserslist
> 0.5%, last 2 Chrome versions, IE 9-11
In addition, my package.json references it under dependencies as:
"browserslist": "^4.17.6",
I have also commented the import statements in polyfills.js to support IE9, IE10 and IE11
Please suggest what can I do to get rid of that warning