TypeScript Compile Target in Visual Studio 2013 -
a few months ago looked typescript first time. swear, there option in gui set --target
compiler parameter.
now it's gone, or @ least can't find it. guess has visual studio version. used vs2012 then. i'm on vs2013.
can me please?
previously possible web essentials in tools -> options * on left web essentials -> typescript , there option es3 or es5 removed web essentials see following blog post: http://madskristensen.net/post/web-essentials-2013-where-is-the-typescript-support
note: web essentials again has support typescript changing setting in typescript plugin (and not web essentials)
you can find right clicking project , choose "typescript build" on left side. there option change ecmascript 3 ecmascript 5 (among other things). see there blogpost screenshots this: http://blogs.msdn.com/b/typescript/archive/2013/12/05/announcing-typescript-0-9-5.aspx
you can change manually if want editing csproj. somewhere in there, there propertygroup can change typescripttarget, see following:
<propertygroup condition="'$(configuration)' == 'release'"> <typescripttarget>es5</typescripttarget> <typescriptincludecomments>false</typescriptincludecomments> <typescriptsourcemap>false</typescriptsourcemap> <typescriptmodulekind>amd</typescriptmodulekind> </propertygroup>
change es3 if want target ecmascript 3
Comments
Post a Comment