diff --git a/package.json b/package.json index 23b7fa0a..115881bd 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "lint": "eslint 'src/**/*.ts' 'test/**/*.ts'", "test": "jest -c jest.config.js --coverage", "validate": "tsc --noEmit", - "build": "tsc", + "build": "tsc -p tsconfig.build.json", "bundle": "rollup -c" }, "dependencies": { diff --git a/tsconfig.build.json b/tsconfig.build.json new file mode 100644 index 00000000..6e3a028b --- /dev/null +++ b/tsconfig.build.json @@ -0,0 +1,6 @@ +{ + "extends": "./tsconfig.json", + "exclude": [ + "test/**/*.ts" + ] +}