DEV Community

Jonathan Atiene
Jonathan Atiene

Posted on

Deploy ES6 Node app in Heroku

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"
}
Enter fullscreen mode Exit fullscreen mode

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)