In my whole application, the only function I am using from loadash is deepClone. The import that I make across several files is just this:
deepClone
import {cloneDeep} from "lodash";
Even then the contribution of lodash to the entire build is 102.1KB as deduced from the source map explorer using the command source-map-explorer 'build/static/js/*.js
102.1KB
source-map-explorer 'build/static/js/*.js
Here is what it shows
Why is that? How could I reduce it?
1.4m articles
1.4m replys
5 comments
57.0k users