AmpersandJS / ampersand-state

Core state management object.
MIT License
141 stars 75 forks source link

use lodash modules, not full #244

Closed jlit closed 8 years ago

jlit commented 8 years ago

AFAIK, all the other ampersand modules use the individual lodash modules but state is using the full library, thus doubling the download size for lodash.

cdaringe commented 8 years ago

hey @jlit, take a peek at the src: https://github.com/AmpersandJS/ampersand-state/blob/master/ampersand-state.js#L6

bundlers will not bundle the full lodash module because the root module is not in the require path.

ping us w/ further qs. thx