mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
fix pdf setup
This commit is contained in:
parent
07be61bfa5
commit
b2414781d4
@ -9,6 +9,9 @@ import 'ng2-charts';
|
||||
import 'ng2-3d-editor';
|
||||
import 'three';
|
||||
|
||||
import pdfjsLib from 'pdfjs-dist';
|
||||
pdfjsLib.PDFJS.workerSrc = 'pdf.worker.js';
|
||||
|
||||
if (environment.production) {
|
||||
enableProdMode();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user