Skip to content

Commit 3ec0d93

Browse files
committed
Update tsconfig.json
1 parent cd4af9c commit 3ec0d93

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"build": "rollup -c",
1313
"test": "jest",
1414
"tsc": "tsc -p . --noEmit",
15-
"tsc:d": "tsc -p . --outDir lib -d --emitDeclarationOnly",
15+
"tsc:d": "tsc -p ./tsconfig-build.json --outDir lib -d --emitDeclarationOnly",
1616
"prepublishOnly": "rimraf lib && npm run build && npm run tsc:d"
1717
},
1818
"dependencies": {

tsconfig-build.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "./tsconfig",
3+
"exclude": ["src/**/*.spec.*"]
4+
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
"isolatedModules": true
1616
},
1717
"include": ["src"],
18-
"exclude": ["node_modules", "src/**/*.spec.*"]
18+
"exclude": ["node_modules"]
1919
}

0 commit comments

Comments
 (0)