How can I run a grunt task from within a grunt task?

后端 未结 4 1706
伪装坚强ぢ
伪装坚强ぢ 2020-12-13 08:28

I\'ve created a new grunt task and within it I want to use grunt-contrib-concat to concatenate a few files together.

I looked through the docs but I don\'t find an

4条回答
  •  -上瘾入骨i
    2020-12-13 09:02

    If you are feeling lazy I ended up publishing a npm module that forwards the configs from your task into the subtask that you want to run:

    https://www.npmjs.org/package/extend-grunt-plugin

提交回复
热议问题