TypeScript will generate the .js and .js.map file under the same folder with .ts file. But because they are not included in .csproj file, other resource (ex, HTML file) does not recognize them.
Could you automatically generate the responding .js and .js.map file when adding a ts file, and include them to .csproj file? Just like adding a .less file do - the generated .css and .min.css are included into the project automatically.
TypeScript will generate the
.js
and.js.map
file under the same folder with.ts
file. But because they are not included in.csproj
file, other resource (ex, HTML file) does not recognize them.Could you automatically generate the responding
.js
and.js.map
file when adding a ts file, and include them to.csproj
file? Just like adding a.less
file do - the generated.css
and.min.css
are included into the project automatically.