Fix pdf-worker build script

This commit is contained in:
Martynas Bagdonas 2021-09-27 14:39:53 +03:00
parent c0ecd7691b
commit e09f1ba5d2

View file

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