Hi Dhiraj,
another possibility could be to use a proxy to acces the library you need directly on your SAP system. This is the same way you access your OData Service by a proxy.
You can use the grunt-contrib-connect npm package in combination with the grunt-connect-proxy package to do this job for you. If you acces your SAP system via https you have to use the latest grunt-connect-proxy version from github.
Best regards
Christian