Does anyone know how to stop VS 2013 from generating *.map files for TypeScript?
We're not such a big fan of them since they:
I can delete them with a post build step, but the javascript that gets generated still has a:
//# sourceMappingURL=someFile.js.map
Which makes the browser look for the map files (generating a 404). Even if we try to build a project that has TypeScript in Release mode it still generates JS with references to map files.
Anyway to stop the pain?
In the TypeScript project properties, go to "TypeScript Build" (available starting with TS 0.9.5) and deselect "Generate source maps".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With