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 Sep 16, 2023. It is now read-only.
EDIT I've done this and although there it worked for the above, webpack/lodash is now throwing an error on a different use case of map, again only when plugin enabled:
var test = [{key: a, value: 1}, {key: b, value: 2}]
_.map(test)
Error is:
TypeError: iteratee is not a function
at arrayMap (webpack:///./~/lodash/_arrayMap.js?:16:21)
at map (webpack:///./~/lodash/map.js?:50:10)
Points to this block of code:
function arrayMap(array, iteratee) {
var index = -1,
length = array == null ? 0 : array.length,
result = Array(length);
while (++index < length) {
result[index] = iteratee(array[index], index, array); <----- Error here
}
return result;
}
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Without this plugin enabled
test is
[{key: a, value: 1}, {key: b, value: 2}]
With this plugin enabled, the same code, test is
undefined
I tried enabling some goodies as per below config, but same undefined result:
My Babel preset is
Perhaps something else I need to be doing?
Thank you.
The text was updated successfully, but these errors were encountered: