Skip to content

Commit

Permalink
Merge pull request #12082 from keymanapp/fix/web/worker-build-patchup
Browse files Browse the repository at this point in the history
fix(web): patch up worker build to provide artifacts for its tests
  • Loading branch information
jahorton authored Aug 6, 2024
2 parents 1318f7b + 90e7c5b commit bf9c683
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions common/predictive-text/src/node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"*.ts"
],
"references": [
{ "path": "../tsconfig.json" },
{ "path": "../../../web/lm-worker" }
{ "path": "../tsconfig.json" }
]
}
3 changes: 3 additions & 0 deletions common/web/lm-worker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ function do_build() {
# Declaration bundling.
tsc --emitDeclarationOnly --outFile $INTERMEDIATE/worker-main.d.ts

# Some automated tests currently rely upon the individual output files.
tsc

mkdir -p $LIB


Expand Down

0 comments on commit bf9c683

Please sign in to comment.