我在我的测试中使用lodash,不使用webpack或browserify(不需要) .
我发现默认的npm版本与凉亭的版本不同 . 我当然可以使用bower版本,但我很好奇我是否可以使用npm(它已经存在于Gulp中) .
对于凉亭我可以将此行添加到karma.conf:
bower_components/lodash/lodash.js
但是在默认的npm发行版中有更简单的方法,比如说我可能需要添加多个来自 node_modules/lodash 的文件?
node_modules/lodash
我想你在寻找 node_modules/lodash/index.js
node_modules/lodash/index.js
1 回答
我想你在寻找
node_modules/lodash/index.js