问题
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