Fix pdf-worker build script
This commit is contained in:
parent
c0ecd7691b
commit
e09f1ba5d2
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ async function getPDFWorker(signatures) {
|
|||
}
|
||||
catch (e) {
|
||||
await exec('npm ci;npm run build', { cwd: 'pdf-worker' });
|
||||
await fs.copy('pdf-worker/build/pdf-worker.js', targetDir + 'worker.js');
|
||||
await fs.copy('pdf-worker/build/worker.js', targetDir + 'worker.js');
|
||||
}
|
||||
signatures['pdf-worker'] = { hash };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue