有没有办法重命名 Gruntfile.js 本身?是否有使用替代命名的 Gruntfile.js 的语法?
最佳答案
http://gruntjs.com/using-the-cli
--gruntfile
Specify an alternate Gruntfile.
By default, grunt looks in the current or parent directories for the nearest Gruntfile.js or Gruntfile.coffee file.
关于javascript - 如何为 Gruntfile.js 使用替代名称?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32989503/