Skip to content

Commit

Permalink
Add tsconfig.build.json to avoid incremental build
Browse files Browse the repository at this point in the history
For package/web, which uses Babel.
  • Loading branch information
iquabius committed Jun 17, 2020
1 parent f7ee680 commit 0ae88a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"clean": "lerna clean -y && rm -rf node_modules",
"build": "lerna run prebuild && lerna run build && tsc --build --verbose packages",
"build:clean": "lerna run build:clean",
"build:skip-web": "lerna run prebuild && tsc --build --verbose packages",
"build:skip-web": "lerna run prebuild && tsc --build --verbose packages/tsconfig.build.json",
"build:watch": "lerna run prebuild && tsc --build --verbose --watch packages",
"cy:run": "cypress run",
"cy:open": "cypress open",
Expand Down
9 changes: 9 additions & 0 deletions packages/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"files": [],
"references": [
{ "path": "api" },
// "error TS5053: Option 'noEmit' cannot be specified with option 'composite'."
// TS incremental build is not playing well with Babel projects
// { "path": "web" }
]
}

0 comments on commit 0ae88a6

Please sign in to comment.