What are the TypeScript project build configuration options?

后端 未结 3 1631
予麋鹿
予麋鹿 2020-12-18 14:27

When I create a new \"HTMLWeb App\" project, I get a .csproj with a few default options in the project XML for Typescript. Where can I find a list of all possible TypeScript

3条回答
  •  时光取名叫无心
    2020-12-18 15:29

    I found the list of options in the .targets file that shipped with the TypeScript installation. Here is the full list of options with the command line argument that gets actually sent to "tsc.exe" (the TypeScript compiler)

    • TypeScriptIncludeComments ..... --comments
    • TypeScriptGeneratesDeclarations ..... --declaration
    • TypeScriptModuleKind ..... --module $(TypeScriptModuleKind)
    • TypeScriptIncludeDefaultLib ..... --nolib
    • TypeScriptOutFile ..... --out $(TypeScriptOutFile)
    • TypeScriptSourceMap ..... --sourcemap
    • TypeScriptTarget ..... --target $(TypeScriptTarget)
    • TypeScriptAdditionalFlags ..... $(TypeScriptAdditionalFlags)

提交回复
热议问题