Closed
Description
@itsmichaeldiego
var _lodash = require('lodash');
if ((0, _lodash.isEmpty)(bootstrapURLKeys.v)) { queryString += '&v=3.31'; }
Due to this implementation webpack bundles the whole lodash library in my bundle.
Could you please get rid of this or fix it to a cherry-picking method approach?
e.g.
var _isEmpty = require('lodash/isEmpty');
before, after commenting this out:
It's gone... lodash.min.js will be another package...
Edit:
It's the dist package of google-map-react... which gets imported by webpack.
lodash.min.js was bundled there inside...
import GoogleMapReact from "google-map-react";
imports lodash.js through google_map_loader.js and lodash.min.js through dist-package of google-map-react.
Please fix this huge dependency... :)
Metadata
Metadata
Assignees
Labels
No labels