Hello. I have a Github repository for my Typescript Express project. In my project structure, I have
src folder to save my
.ts file and a
dist folder for the output of
tsc compiler, and there will be the
.js file, just like typical typescript structure.
I used expressjs to create a webserver, everything is working ok. I add the
dist folder into
.gitignore file, so the only file that got pushed to github repository is the
src folder which mean the typescript file. And I want to connect Heroku and my github repository. The problem is, the file that should be in Heroku is the
.js file, not the
What is the correct way to deploy a typescript project to Heroku ?
I really appreciate all of your response. Thank you