How to setup Gruntfile to use compass/sass on heroku?

前端 未结 3 1439
别那么骄傲
别那么骄傲 2020-12-31 08:24

I\'ve successfully set up my heroku app with the grunt buildpack. When I push my Node.js app to heroku it will run the appropriate grunt task.

What I\'d like is to u

3条回答
  •  -上瘾入骨i
    2020-12-31 09:03

    I got my app working on heroku using grunt-sass instead of grunt-contrib-sass. To swap them out just do npm install --save grunt-sass and then swap out the grunt-task wherever it's used (e.g. grunt.loadNpmTasks('grunt-sass') instead of grunt.loadNpmTasks('grunt-contrib-sass')

提交回复
热议问题