Open krystian50 opened 4 years ago
@krystian50 hi, any luck?
Happening the same for me. I just used one function but the bundle had too many functions.
Any update?
@jdalton is it still working?
It's still happening. I've prepared a repro repo: grzegorzjudas/babel-lodash-repro.
Potentially related:
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: