I am developing image zoom in angular4 library,I need to import openseadragon js file to my library.
If it is angular project then simply i can add cdn to index.html, but in library how can i import js file.
I tried with the angular-cli.json file in the below way, but it didn't worked.
"scripts": [
"../node_modules/openseadragon/build/openseadragon/openseadragon.min.js"
]
Any solutions will be appreciated..