fix(web): patch up worker build to provide artifacts for its tests

This commit is contained in:
Joshua A. Horton 2024-08-02 10:31:51 +07:00
parent dd12e73153
commit 90e7c5b612
2 changed files with 4 additions and 2 deletions

View file

@ -14,7 +14,6 @@
"*.ts"
],
"references": [
{ "path": "../tsconfig.json" },
{ "path": "../../../web/lm-worker" }
{ "path": "../tsconfig.json" }
]
}

View file

@ -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