Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Is this plugin still relevant? #251

Open
feketegy opened this issue Apr 19, 2022 · 4 comments
Open

Is this plugin still relevant? #251

feketegy opened this issue Apr 19, 2022 · 4 comments

Comments

@feketegy
Copy link

What the title says.

Am I still able to use import _ from 'lodash' with this plugin that will extract only those functions that are actually used, in the final build?

@evenfrost
Copy link

I don't think so.

@qiulang
Copy link

qiulang commented Oct 18, 2022

Hi I use https://github.com/webpack-contrib/webpack-bundle-analyzer to find it is still relevant.

Without it, 71.48 kb
without babel-plugin-lodash

With it, 36 kb
with babel-plugin-lodash

Too bad it has not been updated for 4 years!

@trajano
Copy link

trajano commented Dec 12, 2022

I don't think it's relevant at least once you compute the size of the final files lodash/lodash#5570

@woodreamz
Copy link

it is relevant except if you already use https://github.com/umijs/babel-plugin-import

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

5 participants