Is there a way to disable the Polymer error log widget

廉价感情. 提交于 2019-12-11 10:34:17

问题


The error log widget in the bottom/right corner in the browser is very helpful but sometimes I would be nice if it could be disabled.

see also How to avoid warnings for components registered with document.registerElement


回答1:


There are two options

  • disable the widget
transformers:
- polymer:
    inject_build_logs_in_output: false
  • disable the Polymer linter
transformers:
- polymer:
   lint: false

see also http://dartbug.com/21237



来源:https://stackoverflow.com/questions/28614462/is-there-a-way-to-disable-the-polymer-error-log-widget

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!