babel-plugin-import
babel-plugin-import copied to clipboard
[Help] ReferenceError When Use `Lodash` Placeholder
ReferenceError When Use Lodash
Placeholder.
Lodash
support use _
as Placeholder in _.curry
and other funcs.
This is a test case:
function abc(x, y, z) {
return [x, y, z];
}
_.curry(abc)(1, _, 3)(2);
The test case work well in runkit, but it does not work when used with babel-plugin-import
.
Is there any solution fix it?