首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >角度12:在项目的浏览器列表配置中请求支持IE9和IE10

角度12:在项目的浏览器列表配置中请求支持IE9和IE10
EN

Stack Overflow用户
提问于 2022-01-04 18:02:20
回答 1查看 535关注 0票数 -1

首先,我的问题不同于:Angular 12 warns about requested IE 11 support. Why?

我要升级到角度12并收到警告。

代码语言:javascript
复制
 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

我在根目录中有一个浏览列表文件。内容:

代码语言:javascript
复制
# 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

此外,我的package.json在依赖项下将其引用为:

代码语言:javascript
复制
 "browserslist": "^4.17.6",

我还在polyfills.js中注释了导入语句,以支持IE9、IE10和IE11

请建议我能做些什么来消除那个警告。

EN

回答 1

Stack Overflow用户

发布于 2022-01-04 19:10:47

角12不支持IE9或IE10,只有IE11:https://v12.angular.io/guide/browser-support

最后一个支持所有3的版本是角10:https://v10.angular.io/guide/browser-support

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70583182

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档