Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppress map file tags for TypeScript
Message
De
16/05/2014 09:02:30
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Visual Studio
Titre:
Suppress map file tags for TypeScript
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01600105
Message ID:
01600105
Vues:
37
Anyone know what causes VS to add the mapping tag to Typescript generated pages ?

e.g: //# sourceMappingURL=models.js.map

In Web Essentiials options I have JavaScript/Create source map files = False - and no maps files are generated. No relevant options appear in the TypeScript pane.

'Build' doesn't add the tag. When I publish to a local server the tag isn't added but when I publish to an Azure web site it's suddenly there - which produces 404's since the *.js.map file doesn't exist.

Not the end of the world. But annoying - I hate seeing red text in dev tools :-}
Répondre
Fil
Voir

Click here to load this message in the networking platform