@babel/parser included again in production build with runtimeCompiler=true
Version
3.2.13
Reproduction link
Steps to reproduce
- Create empty project using Vue CLI
- Compile it with runtimeCompiler=true in vue.config.js and Vue v3.2.12 - chunk-vendors.js ~167kb
- Install Vue v3.2.16 and recompile - chunk-vendors.js ~ 418kb
What is expected?
Vendors chunk doesn't include @babel/parser in production build as if compiled with Vue v3.2.12
What is actually happening?
@babel/parser included in production build so chunk-vendors.js is 250kb larger than if compiled with Vue v3.2.12
Same problem as described in https://github.com/vuejs/vue-next/issues/2515
Not sure but probably the reason is this change