I’m trying to use a third party module within my application. It is: https://www.npmjs.com/package/ngx-store
It utilizes things such as
window. How do I resolve dependencies which rely on these within my Nativescript application?
Due to the above, I am getting errors such as:
file:///app/vendor.js:113191:49: JS ERROR ReferenceError: Can't find variable: document
When trying to compile my application. Do I need to rewrite some of the dependency to support a Nativescript environment?