Skip to content

Commit 759b8d0

Browse files
committed
Update tsconfig
1 parent aef0322 commit 759b8d0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

scripts/generate.foyfile.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,7 @@ task('contributors', async ctx => {
6565
desc('Generate tsc')
6666
strict()
6767
task<TSCOptions>('tsc', async ctx => {
68-
await ctx.exec('yarn tsc --outDir ./dist/types')
68+
await ctx.exec(
69+
'yarn tsc --outDir ./dist/types --project ./tsconfig.build.json',
70+
)
6971
})

tsconfig.build.json

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{
22
"extends": "./tsconfig.json",
3-
"compilerOptions": {
4-
"sourceMap": false,
5-
"removeComments": false
6-
},
73
"exclude": [
84
"./__tests__/**/*",
95
"./playground"

tsconfig.json

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"noUncheckedIndexedAccess": true
1919
},
2020
"include": [
21+
"./__tests__/**/*",
22+
"./playground/*.ts",
2123
"./src/**/index.ts"
2224
],
2325
"exclude": [

0 commit comments

Comments
 (0)