Skip to content

Commit c932b5b

Browse files
committed
fixes on build
1 parent cc9e111 commit c932b5b

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "build/index.js",
66
"type": "module",
77
"scripts": {
8-
"build": "tsc",
8+
"build": "tsc -p tsconfig.build.json",
99
"dev": "tsc --watch",
1010
"start": "node build/index.js --http",
1111
"start:stdio": "node build/index.js",

tsconfig.build.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./build"
6+
},
7+
"include": [
8+
"src/**/*"
9+
],
10+
"exclude": [
11+
"node_modules",
12+
"build",
13+
"tests",
14+
"examples",
15+
"**/*.test.ts",
16+
"**/*.spec.ts"
17+
]
18+
}

0 commit comments

Comments
 (0)