Skip to content

Commit e42a2b8

Browse files
committed
chore(types): exclude storybook and test files
1 parent e07fc3f commit e42a2b8

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

tsconfig.build.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
4+
"rootDir": "src",
45
"declaration": true,
56
"declarationDir": "lib",
67
"emitDeclarationOnly": true
7-
}
8+
},
9+
"exclude": [
10+
"node_modules",
11+
"dist",
12+
"es",
13+
"lib",
14+
"storybook",
15+
"./*.js",
16+
"jest.setup.ts",
17+
"**/*.test.ts",
18+
"**/*.test.tsx"
19+
]
820
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"forceConsistentCasingInFileNames": true,
3232
"skipLibCheck": true,
3333
"stripInternal": true,
34-
"resolveJsonModule": true,
34+
"resolveJsonModule": true
3535
},
3636

3737
/* File Inclusion */

0 commit comments

Comments
 (0)