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
It appears that lodash@^4 added the (freeWindow || freeSelf || {})._ = lodash; line to address some AMD issues. However, this seems to have the side effect of always exporting lodash to window._ in our webpack builds. Was this intended? Is there a way to better restrict this fix for the AMD issue by checking for typeof window.define or something?
It appears that
lodash@^4
added the(freeWindow || freeSelf || {})._ = lodash;
line to address some AMD issues. However, this seems to have the side effect of always exporting lodash towindow._
in our webpack builds. Was this intended? Is there a way to better restrict this fix for the AMD issue by checking fortypeof window.define
or something?It appears this was added in 7862ae6
Thanks for your excellent work on lodash, it is as always a wonderful library.
The text was updated successfully, but these errors were encountered: