{
  "scripts": {
    "dokku": {
      "predeploy": "npm run build"
    }
  }
}

{
  "scripts": {
    "dokku": {
      "predeploy": "yarn build"
    }
  }
}

Use yarn for the predeploy hook.
Use yarn for the predeploy hook.
