I am currently working in VS2017 on a WebSite project where I have recently added a tsconfig.json file. I am wondering how I can automate the process of generating js files from ts files during the build phase?
Interestingly, when I remove the tsconfig.json file, the compile on save option seems to work fine. However, once I add it back, even the compile on save feature stops working.
Here is an example of what the tsconfig.json file looks like:
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"sourceMap": true
}
}