Skip to content

Commit

Permalink
update tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper committed Jun 8, 2024
1 parent dfc0052 commit 6a8c047
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "dist/index.d.ts",
"module": "dist/index.js",
"scripts": {
"build": "rm -rf dist/* && tsc",
"build": "rm -rf dist/* && tsc --project tsconfig.build.json",
"format": "prettier -w .",
"lint": "eslint src",
"test": "vitest run --sequence.concurrent"
Expand Down
5 changes: 5 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src"],
"exclude": ["src/**/*.test.ts"]
}
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"include": ["src"],
"exclude": ["src/**/*.test.ts"],
"compilerOptions": {
"outDir": "dist",
"declaration": true,
Expand Down

0 comments on commit 6a8c047

Please sign in to comment.