在提供我的角度应用程序时,我不断收到这些警告:
./src/app/core/containers/navbar/navbar.component.sass
(Emitted value instead of an instance of Error) autoprefixer: ...src\app\core\containers\navbar\navbar.component.sass:11:4: grid-auto-columns is not supported by IE
不幸的是,我对IE支持不感兴趣。 是否可以禁用此类警告?
答案 0 :(得分:8)
您可以在CSS文件中的单行前添加警告:
2018-08-02 20:31:57,524 INFO computations : in step 56 of identifier B
2018-08-02 20:31:57,799 INFO computations : in step 97 of identifier A
例如,IE不支持CSS设置/* autoprefixer: off */
。要禁用警告,请按以下方式应用它:
grid-auto-rows