Skip to content

Commit

Permalink
fix: disable composite before running ts (#14)
Browse files Browse the repository at this point in the history
The "composite" flag requires that all files are included in the dependencies, which isn't always true for us as we explicitly select the files we're interested in.
  • Loading branch information
Forbes Lindesay authored Jun 11, 2019
1 parent 670735f commit 8ee2a2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/loadTsConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@ export default function loadTsConfig(cwd: string): any {
// we need to disable it if experimentalDecorators support is off
compilerOptions.emitDecoratorMetadata = false;
}
if (compilerOptions.composite) {
// the composite setting adds a few constraints that cause us all manner of problems
compilerOptions.composite = false;
}
return compilerOptions;
}

0 comments on commit 8ee2a2f

Please sign in to comment.