You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
the lodash modular build packages like lodash.assign etc. are actually larger than you would expect, unable to share code with each other, and waste space in a webpack bundle.
It will save more space in webpack bundles to just
import {assign} from 'lodash'
and use babel-plugin-lodash/lodash-webpack-plugin to convert this to
import _assign from 'lodash/assign'
The text was updated successfully, but these errors were encountered:
jedwards1211
changed the title
use lodash instead of lodash.assign, etc.
using lodash instead of lodash.assign, etc. will actually enable smaller webpack builds
Jun 19, 2018
jedwards1211
added a commit
to jedwards1211/subscriptions-transport-ws
that referenced
this issue
Jun 19, 2018
the lodash modular build packages like
lodash.assign
etc. are actually larger than you would expect, unable to share code with each other, and waste space in a webpack bundle.It will save more space in webpack bundles to just
and use
babel-plugin-lodash
/lodash-webpack-plugin
to convert this toThe text was updated successfully, but these errors were encountered: