Skip to content

Commit

Permalink
setup(all): set default build config (@nx/js:tsc)
Browse files Browse the repository at this point in the history
  • Loading branch information
NexZhu committed Dec 18, 2023
1 parent 63eab7d commit e5cd066
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 0 additions & 2 deletions lib/myutil/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "lib/myutil/dist",
"main": "lib/myutil/src/index.ts",
Expand Down
3 changes: 2 additions & 1 deletion nx.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ const config = {
build: {
dependsOn: ['^build'],
cache: true,
executor: '@nx/js:tsc',
inputs: ['default'],
// outputs,
outputs: ['{options.outputPath}'],
},

test: {
Expand Down
4 changes: 4 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
"^build"
],
"cache": true,
"executor": "@nx/js:tsc",
"inputs": [
"default"
],
"outputs": [
"{options.outputPath}"
]
},
"test": {
Expand Down

0 comments on commit e5cd066

Please sign in to comment.