babel-plugin-lodash
Modular Lodash builds without the hassle. (by lodash)
babel-plugin-import
Modularly import plugin for babel. (by umijs)
babel-plugin-lodash | babel-plugin-import | |
---|---|---|
3 | 2 | |
1,957 | 3,157 | |
- | 0.2% | |
0.0 | 3.0 | |
about 1 year ago | 5 months ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
babel-plugin-lodash
Posts with mentions or reviews of babel-plugin-lodash.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-04.
- Webpack tree shaking not working as I expected
-
Let's talk about Lodash
Alternatively, there is a Babel plugin that can do this for you. There is also a webpack plugin that will further optimize things.
-
Minimizing Webpack bundle size
Similar to babel-plugin-import, the babel-plugin-lodash plugin cherry picks the code we need to import from lodash. The parsed size of the entire lodash package is ~600KB, so we definitely don’t want everything.
babel-plugin-import
Posts with mentions or reviews of babel-plugin-import.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-12.
- Taro Hooks V1.3.0
-
Minimizing Webpack bundle size
The babel-plugin-import plugin for babel-loader enables Webpack to only include the code we need when traversing through dependencies during compilation, instead of including the entire module. This is especially useful for heavy packages like antd and lodash. More often than not, web apps only need select UI components and helper functions, so let’s just import what’s needed.
What are some alternatives?
When comparing babel-plugin-lodash and babel-plugin-import you can also consider the following projects:
terser-webpack-plugin - Terser Plugin
webpack-bundle-analyzer - Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
You-Dont-Need-Lodash-Underscore - List of JavaScript methods which you can use natively + ESLint Plugin
general-tools - a tools website for anything
moment-timezone-data-webpack-plugin - Reduce moment-timezone data size for a webpack build
lodash - A modern JavaScript utility library delivering modularity, performance, & extras.
taro-hooks - Hooks Library for Taro
proposal-pipeline-operator - A proposal for adding a useful pipe operator to JavaScript.
babel-plugin-lodash vs terser-webpack-plugin
babel-plugin-import vs webpack-bundle-analyzer
babel-plugin-lodash vs You-Dont-Need-Lodash-Underscore
babel-plugin-import vs general-tools
babel-plugin-lodash vs moment-timezone-data-webpack-plugin
babel-plugin-import vs moment-timezone-data-webpack-plugin
babel-plugin-lodash vs webpack-bundle-analyzer
babel-plugin-import vs terser-webpack-plugin
babel-plugin-lodash vs lodash
babel-plugin-import vs taro-hooks
babel-plugin-lodash vs proposal-pipeline-operator