问题描述
我只需要整个库中的 2 个函数:throttle 和 debounce。
如果我用一个函数构建它,一切正常,例如这个工作
lodash include=throttle
但是如果我尝试用逗号分隔的多个函数,我会得到一个错误。所以这个:
lodash include=throttle,debounce
给我这个:
在 VScode 中使用 windows 10(流畅的终端或 powershell,结果相同)。
Here 是文档:
有什么解决办法吗?
解决方法
没有明显的原因 cmd.exe 工作得很好。 Powershell 没有。
我怀疑逗号的解释不同,不确定。