This repository has been archived by the owner on Sep 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 98
Bundle contains many lodash functions #236
Comments
@krystian50 hi, any luck? Happening the same for me. I just used one function but the bundle had too many functions. |
3 tasks
Any update? |
@jdalton is it still working? |
It's still happening. I've prepared a repro repo: grzegorzjudas/babel-lodash-repro. |
Potentially related: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Why the build size is so large?
Working example: https://github.com/krystian50/babel-plugin-lodash-issue
The only lodash related code is:
Plugin is added through
.babelrc
Without babel-plugin-lodash build looks like:
With plugin:
Basically there is many functions, but I only used map. I checked build code and there is import lines:
The text was updated successfully, but these errors were encountered: