WebViewer.zip missing ResizableWorker.js (webviewer for salesforce)

Product: WebViewer’s JavaScript library

Product Version: 8.3.0

Please give a brief summary of your issue:

Running npm run optimize - gives this error (missing file)

[Error: ENOENT: no such file or directory, stat '/Users/mikegill/Gill Dropbox/workspaces/10K/webviewer-salesforce/WebViewer/lib/core/pdf/ResizableWorker.js'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: '/Users/mikegill/Gill Dropbox/workspaces/webviewer-salesforce/WebViewer/lib/core/pdf/ResizableWorker.js'
}

Please describe your issue and provide steps to reproduce it:
Running npm run optimize - say y to salesforce

Please provide a link to a minimal sample where the issue is reproducible:
WebViewer.zip

I can see the file in version 8.2.0 download.

Hello there.

This file was actually removed for 8.3, but the reference for it in the script remained. We’ve fixed it and it will be available in the upcoming nightly builds, but in the meantime, you can remove that reference manually: Open the file scripts/optimize-for-prod.js, find the line that references ResizeableWorker.js and remove it (the whole line).