Difference between revisions of "Heroku Node.js support"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  "scripts": {
 
  "scripts": {
 
   "start": "node index.js",
 
   "start": "node index.js",
   "build": "[[ng build]]",
+
   "[[build]]": "[[ng build]]",
 
   "heroku-postbuild": "ng build --prod" // this will be run on Heroku
 
   "heroku-postbuild": "ng build --prod" // this will be run on Heroku
 
  }
 
  }

Revision as of 11:34, 22 February 2022

Advertising: