compile typescript\ts files as part of build process in Visual Studio 2017 -


in vs2017, have website project have added tsconfig.json file. how should automate generating js files ts files part of build?

i remove tsconfig.json file, compile on save option work adding it, compile on save doesn't work.

an example of tsconfig.json file content:

{     "compileroptions": {         "target": "es5",         "module": "commonjs",         "sourcemap": true     } } 

it cause missing typescript in csproj. if use net core, compile typescript on build

otherwise create new project , compare csproj configuration yours fix typescript.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -