alarner / perk

A well documented set of tools for building node web applications.
http://perkframework.com
MIT License
181 stars 31 forks source link

Create heroku buildpack for perk and gitignore minified files #17

Closed alarner closed 8 years ago

alarner commented 8 years ago

Right now we have to include bundle.min.js and main.scss.min.css in the repository because heroku will not let you build new files or write to the filesystem unless you have a custom buildpack. In order to streamline the deployment process and clean up git repos for perk apps we need to:

  1. create a custom buildpack
  2. add the min files (css and js) to the .gitignore
  3. update the perk docs accordingly
alarner commented 8 years ago

Turns out a custom buildpack is not necessary. Instead we can use the heroku-postbuild hook in the package.json file. Things to do:

We will also add support for webpack (#3)

alarner commented 8 years ago

Fixed in #23