File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed
Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,6 @@ class TypeScriptPreprocessor {
2121 this . name = 'ember-cli-typescript' ;
2222 this . ext = 'ts' ;
2323 this . options = JSON . parse ( JSON . stringify ( options ) ) ;
24-
25- const tsconfig = readConfig ( path . join ( '.' , 'tsconfig.json' ) )
26-
27- // The `include` setting is meant for the IDE integration; broccoli manages
28- // manages its own input files.
29- tsconfig . include = [ '**/*.ts' ] ;
30-
31- // tsc needs to emit files on the broccoli pipeline, but not in the default
32- // config. Otherwise its compiled `.js` files may be created inadvertently.
33- tsconfig . compilerOptions . noEmit = false ;
34- delete tsconfig . compilerOptions . outDir ;
35-
36- this . tsconfig = tsconfig ;
3724 }
3825
3926 toTree ( inputNode /* , inputPath, outputPath */ ) {
@@ -47,7 +34,7 @@ class TypeScriptPreprocessor {
4734 annotation : 'TS files' ,
4835 } ) ;
4936
50- const ts = tsc ( tsFiles , { tsconfig : this . tsconfig } ) ;
37+ const ts = tsc ( tsFiles ) ;
5138
5239 // Put everything together.
5340 return new MergeTrees ( [ js , ts ] , {
Original file line number Diff line number Diff line change 88 "paths" : {}
99 },
1010 "include" : [
11- " app/ **/*"
11+ " **/*"
1212 ]
1313}
You can’t perform that action at this time.
0 commit comments