Browse Source

Merge pull request #1309 from acleverpun/feature/ts-include

Added `include` block to tsconfig.
JoshEngebretson 9 years ago
parent
commit
a8692aa693

+ 2 - 1
Script/AtomicEditor/hostExtensions/languageExtensions/TypscriptLanguageExtension.ts

@@ -370,7 +370,8 @@ export default class TypescriptLanguageExtension implements Editor.HostExtension
       // Generate a tsconfig.json file
       const tsconfigFile = new Atomic.File(projectDir + "tsconfig.json", Atomic.FileMode.FILE_WRITE);
       let tsconfig = {
-        compilerOptions: defaultCompilerOptions
+        compilerOptions: defaultCompilerOptions,
+        include: [ "Resources", "typings" ]
       };
 
       // Don't use fully qualified path in the persistent tsconfig file, just use a relative path from the tsconfig