1
Answer

Outputting the .js files on save of .ts file issue

mel_lisau

mel_lisau

7y
326
1
Hi ,
I have my .js files in the following directory
 
../Scripts/lookup.js  and many others .
I have just renamed my .js files to .s files and if i select "Show all files" in Visual Studio I can see the . js file but i need to include it in the project.
Is there a way I can leave my create my .js files in a different directory when I save the chnages to the .ts file ?
 
Also the .js file doesnt seem to generate on save but it does on compiling .
 
Note I dont use the tsconfig.json  I wuse Visual Studios "Typescript Build"  screen .
 
Should i use a tsconfig.json file and if so where can i place it ?
 
thanks 
 
 
 
Answers (1)