Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 354 Bytes

SYSTEMJS.md

File metadata and controls

19 lines (15 loc) · 354 Bytes

In your system.config.js

Append to map

var map = {
    'ng2-pdf-viewer': 'node_modules/ng2-pdf-viewer/bundles',
    'pdfjs-dist': 'node_modules/pdfjs-dist'
}

and then add to packages

var packages = {
    'ng2-pdf-viewer': { defaultExtension: 'js', format: 'cjs' },
    'pdfjs-dist': { defaultExtension: 'js' }
}