TypeScript / Visual Studio 2012 / Compilation parameters

前端 未结 4 1372
失恋的感觉
失恋的感觉 2021-01-13 12:06

I need to generate Source Maps when the TypeScript Compiler is executed from Visual Studio 2012. In Sublime Text 2, I just had to add an extra parameter to the build script.

4条回答
  •  庸人自扰
    2021-01-13 12:53

    There isn't a VS 2012 UI for editing the TypeScript build flags (yet) but you can get what you want by editing the project file and adding the -sourcemap flag to that build step.

    
    
    
    

提交回复
热议问题