Subscribe on changes!

@babel/parser included again in production build with runtimeCompiler=true

avatar
Sep 23rd 2021

Version

3.2.13

Reproduction link

github.com

Steps to reproduce

  1. Create empty project using Vue CLI
  2. Compile it with runtimeCompiler=true in vue.config.js and Vue v3.2.12 - chunk-vendors.js ~167kb
  3. 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

avatar
Sep 24th 2021

in v3.2.12 image

in v3.2.13 image