diff --git a/docs/deploy/providers/heroku.md b/docs/deploy/providers/heroku.md index a39d73d6fb..72ae958e2e 100644 --- a/docs/deploy/providers/heroku.md +++ b/docs/deploy/providers/heroku.md @@ -23,3 +23,12 @@ Nitro supports deploying on [Heroku](https://heroku.com/) with minimal configura ```bash heroku config:set NITRO_PRESET=heroku ``` + +1. Ensure you have `start` and `build` commands in your `package.json` file. + + ```json5 + "scripts": { + "build": "nitro build", // or `nuxt build` if using nuxt + "start": "node .output/server/index.mjs" + } + ```