fix pdf setup

This commit is contained in:
Denys Vuika 2017-10-25 07:44:53 +01:00
parent 07be61bfa5
commit b2414781d4

View File

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