heroku-buildpack-hugonode

by rossille

GitHub Readme.md

heroku-buildpack-hugonode

This very small buildpack is a helper that allows you to run a site generated with hugo, with some assets generated by nodejs tools.

To use it, there are several prerequisite.

First, you must have a "build" npm script in you package.json that will must generate static assets in the hugo theme directory.

Then, you use it in combination with heroku/nodejs and https://github.com/heroku/heroku-buildpack-static.git and have the buildpacks in this order:

$> heroku buildpacks
=== inte-cpdev-cp Buildpack URLs
1. heroku/nodejs
2. https://github.com/heroku/heroku-buildpack-static.git
3. https://github.com/rossille/heroku-buildpack-hugonode.git