Dario Lopes
Dario Lopes

Reputation: 11

How can I create a lodash custom build with include option?

I only need 2 functions from the entire library: throttle and debounce.

If I build it with one function everything works, for instance this work

lodash include=throttle

but if I try multiple functions comma separated, I get an error. So this :

lodash include=throttle,debounce

give me this :

enter image description here

Using windows 10 with VScode (fluent terminal or powershell, results are the same).

Here is the documentation :

enter image description here

Any solution?

Upvotes: 0

Views: 165

Answers (1)

Dario Lopes
Dario Lopes

Reputation: 11

For no obvious reasons cmd.exe work just fine. Powershell don't.

I suspect the comma being interpreted differently, not sure.

enter image description here

Upvotes: 0

Related Questions