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

[Dependencies] How to remove lodash-es from final build #5262

Closed
VladimirCores opened this issue Mar 11, 2020 · 4 comments
Closed

[Dependencies] How to remove lodash-es from final build #5262

VladimirCores opened this issue Mar 11, 2020 · 4 comments
Labels
needs reproduction This issue is missing a minimal runnable reproduction, provided by the author

Comments

@VladimirCores
Copy link

Version

4.2.3

Environment info

Environment Info:

  System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
  Binaries:
    Node: 11.0.0 - ~/.nvm/versions/node/v11.0.0/bin/node
    Yarn: Not Found
    npm: 6.9.0 - ~/.nvm/versions/node/v11.0.0/bin/npm
  Browsers:
    Chrome: 80.0.3987.132
    Firefox: Not Found
    Safari: 13.0.5
  npmPackages:
    @storybook/vue: ^5.0.3 => 5.0.3 
    vue-vimeo-player: 0.0.9 => 0.0.9 
  npmGlobalPackages:
    @vue/cli: 4.2.3

Steps to reproduce

  1. Start new project
  2. Run build task
  3. Observe lodash-es in the dependencies - 493Kb

What is expected?

No dependencies of lodash-es

What is actually happening?

lodash-es included in the final build and takes 493Kb


I can't find any use of lodash-es in the app.

@LinusBorg LinusBorg added the needs reproduction This issue is missing a minimal runnable reproduction, provided by the author label Mar 11, 2020
@sodatea
Copy link
Member

sodatea commented Mar 11, 2020

Thanks for submitting this issue! Due to our limited time, we ask you to include a reproduction link to a minimal full reproduction of your problem (for example in a GitHub repository) so we can find what is causing the issue. Thank you for your understanding!

@VladimirCores
Copy link
Author

Thanks for your response @sodatea, I'm not allowed to publish the private project event if it's a discovery project. But i will try to prepare separate.
And here is a how problem is looks like (look at lodash-es, it's in dependencies):
Screenshot 2020-03-11 at 15 40 00

@sodatea
Copy link
Member

sodatea commented Mar 11, 2020

@sodatea sodatea closed this as completed Mar 11, 2020
@VladimirCores
Copy link
Author

Thanks a lot @sodatea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction This issue is missing a minimal runnable reproduction, provided by the author
Projects
None yet
Development

No branches or pull requests

3 participants