Wednesday, 17 May 2017

Update a nodeJS project to work with TypeScript and Angular2

I have a NodeJS application running on Heroku. It's a full stack app with 80% API and 20% web. I work with Heroku and the whole code is pushed on it, there is no minification/uglification done. I would like now to have some views working with Angular2 and TypeScript. So that I can follow the official documentation.

It seems that when you work with Typescript it must be a "dist" or "built" directory with transpiled code. Does that mean that I need to push to Heroku only the dist folder now? Meaning 1- transpile the code on my machine, 2- push to Heroku

Thank you for your help!



via jean-Philippe

No comments:

Post a Comment