Skip to content

Commit

Permalink
build(tsconfig): move outDir from package.json scripts to tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Dec 1, 2023
1 parent 7201290 commit 767d79c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"scripts": {
"build": "run-s build:*",
"build:cjs": "tsc --outDir cjs",
"build:cjs": "tsc",
"build:umd": "rollup --config --failAfterWarnings",
"clean": "rm -rf cjs coverage dist",
"lint": "eslint --ignore-path .gitignore .",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"declarationMap": true,
"sourceMap": true,
"forceConsistentCasingInFileNames": true,
"strict": true
"strict": true,
"outDir": "cjs"
},
"include": ["src"]
}

0 comments on commit 767d79c

Please sign in to comment.