当我编译我的Angular项目时,我收到了autoprefixer的警告:
[WDS] Warnings while compiling.
./src/app/administration/user/user.component.scss
(Emitted value instead of an instance of Error) autoprefixer:
auto-rows is not supported by IE
Angular的Github上有几个问题,但它们与Bazel等其他软件包警告有关。我可以永久禁止特定或所有警告吗?
将browserslist
文件夹中的src
文件更新为此值
last 1 version
> 5%
not dead
not ie > 1
not ie_mob > 1
last 1 version
:每个浏览器的最新版本。
>5%
:全球使用统计选择的浏览器版本。
not ie , not ie_mob > 1
:从目标浏览器中排除所有IE和IE Mobile。