How to deploy node app that uses grunt to heroku

前端 未结 7 2156
悲哀的现实
悲哀的现实 2020-11-29 17:20

I\'m using grunt and also grunt plugins like grunt-contrib-copy, grunt-contrib-mincss (that listed as npm dependencies for my application).

7条回答
  •  醉话见心
    2020-11-29 18:00

    The npm postinstall step is probably your best option, since you can invoke grunt from there. But you should also check out a custom buildpack, such as heroku-buildpack-nodejs-grunt.

提交回复
热议问题