Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

My generated js file from typescript are not used

$
0
0

Using Typescript and React on Visual Studio 2019, I compile correctly the say "ClientApp\Components\a.js" file when saving the corresponding "ClientApp\Components\a.tsx" file, but when I launch the Visual Studio debugger, the javascript source is taken from the folder wwwRoot/Dist/Main.js, and not from my a.js file. So it seems that the Main.js file is a concatenation of all the *.tsx files and that my a.js file is ignored.

On the Project Properties, I check "Compile on Save" (which is what I want).


Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>