How do I execute custom build script when deploying node.js application to Heroku?
For example, I want to minify JavaScript files.
How do I execute custom build script when deploying node.js application to Heroku?
For example, I want to minify JavaScript files.
I highly recommend the use of asset-rack, which will minify files when your server first starts up, as well as providing fingerprinted versions of the files that can be cached forever.