We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specific functions from lodash are being used, but because the entire library is being import-ed, bundlers like webpack are including all of lodash.
lodash
import
webpack
To Reproduce
Expected behavior Only portions of lodash should be imported
E.g., import isString from 'lodash/isString';
import isString from 'lodash/isString';
Screenshots E.g., import { isString } from 'lodash'; // Bundlers will bring all of lodash here
import { isString } from 'lodash'; // Bundlers will bring all of lodash here
Desktop (please complete the following information): n/a
Additional context lodash/lodash#3192
The text was updated successfully, but these errors were encountered:
Fixed in v3.5.0
v3.5.0
Sorry, something went wrong.
doug-martin
dustinsmith1024
No branches or pull requests
Specific functions from
lodash
are being used, but because the entire library is beingimport
-ed, bundlers likewebpack
are including all of lodash.To Reproduce
webpack
webpack
dependenciesExpected behavior
Only portions of
lodash
should be importedE.g.,
import isString from 'lodash/isString';
Screenshots
E.g.,
import { isString } from 'lodash'; // Bundlers will bring all of lodash here
Desktop (please complete the following information):
n/a
Additional context
lodash/lodash#3192
The text was updated successfully, but these errors were encountered: