Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
Create separate tsconfig for react
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjensen committed May 1, 2018
1 parent 38c4dcf commit 9722496
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import spawn from 'cross-spawn'
test('Typescript', () => {
const typescriptCompilation = spawn.sync('./node_modules/.bin/tsc', [
'-p',
'./tsconfig.json',
'./tsconfig.react.json',
])

const output = typescriptCompilation.stdout.toString()
Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions tsconfig.react.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "./tsconfig.base.json",
"exclude": ["typings/preact"]
}

0 comments on commit 9722496

Please sign in to comment.