Is there a way to disable the Polymer error log wi

2019-08-05 09:47发布

问题:

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