It's very easy but relatively tricky all you have to do is customize the heroku build process by adding the following to your script in package.json
"script": {
+"heroku-postbuild": "npm run build"
}
the command above should compile your ES6 app using babel read more here
to set up your node js app in ES6 you can read my previous post
Top comments (0)