/** @see https://mozilla.github.io/pdf.js/getting_started/#download */
protected $signature = 'updatepdfjs';
- protected const VERSION = '5.4.54';
+ protected const VERSION = '5.4.149';
//protected const VERSION = '3.11.174';
protected const JQUERY_VERSION = '3.7.1';
public function addPDFJSPageRenderer()
{
- $this->vdir->copyDirectory(resource_path('pdfjs/dist-min'), 'pdfjs');
+ $this->vdir->copyDirectory(resource_path('pdfjs/legacy-min'), 'pdfjs');
$this->customJs[] = ['src' => 'pdfjs/build/pdf.js', 'type' => 'module'];
}