Skip to content

Commit

Permalink
chore: fix to run the build script multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 committed Jul 1, 2021
1 parent ca9716c commit 044b3e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion immutable/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"outDir": "./dist",
"rootDir": "..",
},
"include": [".", "../src"]
"include": [".", "../src"],
"exclude": ["./dist"]
}
3 changes: 2 additions & 1 deletion infinite/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"outDir": "./dist",
"rootDir": "..",
},
"include": [".", "../src"]
"include": [".", "../src"],
"exclude": ["./dist"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"build:core": "bunchee src/index.ts -m --no-sourcemap",
"build:infinite": "bunchee index.ts --cwd infinite -m --no-sourcemap",
"build:immutable": "bunchee index.ts --cwd immutable -m --no-sourcemap",
"prepublishOnly": "rm -rf dist && yarn build",
"prepublishOnly": "rm -rf dist infinite/dist immutable/dist && yarn build",
"types:check": "tsc --noEmit",
"format": "prettier --write \"{src,infinite,immutable,test,examples}/**/*.{ts,tsx}\"",
"lint": "eslint \"{src,infinite,immutable,test,examples}/**/*.{ts,tsx}\"",
Expand Down

0 comments on commit 044b3e9

Please sign in to comment.