Point tsconfig to client and server TS files only

Previous config defined a glob for all TS files. But only the files
required from the client or server root files need to be transpiled.
This prevents the whole project build failinig due to one corrupt source
file that might not be committed to the repository, and isn't actually
used anywhere.
This commit is contained in:
Maciej Ziarkowski 2020-03-08 15:08:26 +00:00
parent f68343f03e
commit 9826ba784c

View File

@ -10,7 +10,8 @@
"esModuleInterop": true,
"noImplicitAny": false
},
"include": [
"./src/**/*"
"files": [
"./src/index.ts",
"./src/client.tsx"
]
}