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

Size after building is bigger with components: true #237

Open
Henribou opened this issue Oct 7, 2021 · 0 comments
Open

Size after building is bigger with components: true #237

Henribou opened this issue Oct 7, 2021 · 0 comments

Comments

@Henribou
Copy link

Henribou commented Oct 7, 2021

Describe the bug
If the option components in nuxt-config.js is set to False, I get the following result after nuxt build
image

But if I set the option to True, I get the following :
image

There is a little difference of size in entrypoint, but there are some huge differences in size in the other files. Is that what is expected ?

To Reproduce
Steps to reproduce the behavior:

"dependencies": {
    "nuxt": "2.15.8",
    "vue": "2.6.14",
  },
  "devDependencies": {
    ...
    "webpack": "^4.46.0"
  }
  1. Run nuxt build with components: false
  2. Run nuxt build with components: true
  3. Check the differences of size
@Henribou Henribou changed the title Size after building is bigger than before Size after building is bigger with components: true Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant