如何使用 Gruntfile.js 的替代名称?
How to use alternative name for Gruntfile.js?
有没有办法重命名 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.
只需使用选项 --gruntfile
,您可以在其中指定备用名称
上找到
有没有办法重命名 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.
只需使用选项 --gruntfile
,您可以在其中指定备用名称