The buildpack should provide an option to turn off the default behavior of caching `node_modules`. In Node.JS buildpack, it can be achieved by setting `NODE_MODULE_CACHE` in the config. https://devcenter.heroku.com/articles/nodejs-support#cache-behavior