Grunt不在父目录中查找node_modules? 像节点呢
我将所有的node_modules
都node_modules
在主目录上一级的父目录中。 哪个与节点工作正常。 但似乎咕噜需要项目目录中的node_modules
。
有没有办法让grunt查看所有父目录来加载它需要的任何模块?
http://runnable.com/U-xEnRK8Dhtr-eNY/output
似乎这是不可能的,可能也不会在未来。
https://github.com/gruntjs/grunt/issues/696#issuecomment-21634036