<h3 dir="auto">Version</h3>
<p dir="auto">2.6.11</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://codesandbox.io/s/quirky-sid-198zy" rel="nofollow">https://codesandbox.io/s/quirky-sid-198zy</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">change state in deactivated hook</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">DOM should not be a re-rendered.</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">DOM is re-rendered.</p>
<hr>
<p dir="auto">When I change state in beforeDestroy hook, DOM is not  re-rendered. However if I do the same thing in deactivate hook, DOM is re-rendered for a second, then move to the other route. I think It's definitely a bug.</p>
<h3 dir="auto">Version</h3>
<p dir="auto">2.6.11</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://github.com/Robin-Hoodie/vue-test-project">https://github.com/Robin-Hoodie/vue-test-project</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<ul dir="auto">
<li><code class="notranslate">vue create test-project</code> (choose default preset with babel/eslint)</li>
<li>Add <code class="notranslate">src/index.js</code> file which exports generated HelloWorld component <code class="notranslate">export * from ./components/HelloWorld.vue</code></li>
<li>Create <code class="notranslate">vue.config.js</code> file and add <code class="notranslate">webpack-bundle-analyzer</code> plugin to webpack config (this is just to inspect the bundle size)</li>
<li>Change <code class="notranslate">build</code> command to <code class="notranslate">vue-cli-service build --target lib --name test-project src/index.js</code></li>
<li>Run <code class="notranslate">yarn build</code></li>
<li>Inspect generated <code class="notranslate">dist/report.html</code> file</li>
<li>Notice <code class="notranslate">@vue/cli-service/lib/commands/build</code> is included in bundle</li>
</ul>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">Since <code class="notranslate">@vue/cli-service</code> is a <code class="notranslate">devDependency</code> I do not expect anything of this dependency to be included in the output bundle</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto"><code class="notranslate">@vue/cli-service/lib/commands/build</code> is included in the output bundle</p>
<hr>
<p dir="auto">I am developing a component library for internal use. I noticed the bundle was quite big and upon inspecting the output I noticed the <code class="notranslate">@vue/cli-service/lib/commands/build</code> was being included.</p>
<p dir="auto">I had already added quite a lot of components, which may be the cause for that dependency taking in a lot more space than in the test project I created (34.63 KB gzipped vs 1.25 KB gzipped)</p>