Visual Studio 2015 - tsconfig.json - TypeScript 1.6.0 Beta
Ich habe ein leeres @ erstelHTML application with TypeScript
usingFile > New > Project
in VS2015.
Ich habe eine grundlegende tsconfig.json in einem @ hinzugefü/scripts
Ordner und hatte erwartet, dass VS die Datei liest und die .js-Dateien in einen anderen Ordner ausgibt. Leider passiert nichts. Es ist ein obwohl VS nicht einmal das @ findtsconfig.json
Hat noch jemand dieses Problem?
Ich bin mir bewusst, dass es ein vorheriges Problem mit 1.5 gab, aber das vorherige Update scheint nicht zu funktionieren:https: //github.com/Microsoft/TypeScript/issues/430
---------------- Update 9/10/2015
Hier ist ein Beispiel für tsconfig.json
{
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"target": "es5",
"module": "amd",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"outDir": "../www/scripts/"
},
"files": [
"./scripts/index.ts"
]
}
Hier ist noch eine tsconfig.json
{
"compilerOptions": {
"target": "es5",
"out": "/wwwroot/scripts/appBundle.js",
"sourceMap": true,
"removeComments": true,
"sourceRoot": "/"
}
}
Ich habe tsconfig.json-Dateien für TypeScript + Cordova-Projekte erstellt und sie funktionieren ordnungsgemäß.