Reputation: 3200
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?
Upvotes: 10
Views: 3634
Reputation: 20044
In the TypeScript project properties, go to "TypeScript Build" (available starting with TS 0.9.5) and deselect "Generate source maps".
Upvotes: 17