Open
Description
What problem does this feature solve?
Similar to devtools, Vue.config.devtools
is enabled by default for development and disabled by default for production. However, the developer can choose to override that behavior (for example, for debugging) by manually setting Vue.config.devtools = true
. However, this same lenience is not afforded to Vue.config.performance
. Even if explicitly enabling it, the developer's setting will be overridden by Vue in production.
What does the proposed API look like?
This proposed solution brings Vue.config.performance
in line with Vue.config.devtools
, by disabling it by default in production, but gives the developer the ability to explicitly ��enable it; for example, for debugging performance issues.