Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
igor-ye opened this issue Sep 23, 2021 · 1 comment
Closed
Labels
🐞 bug Something isn't working scope: compiler

Comments

@igor-ye
Copy link

igor-ye commented Sep 23, 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 #2515

Not sure but probably the reason is this change

@edison1105 edison1105 added 🐞 bug Something isn't working scope: compiler labels Sep 24, 2021
@edison1105
Copy link
Member

edison1105 commented Sep 24, 2021

in v3.2.12
image

in v3.2.13
image

@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working scope: compiler
Projects
None yet
Development

No branches or pull requests

2 participants