Perhaps by design for security, but I can’t load a script in the node_modules folder when viewing in design mode…ERR_FILE_NOT_FOUND
It does work in the browser though.
Is there a better way to load node scripts?
EDIT: Okay, so it would seem npm_modules folder does not get deployed by cordova. Quick fix is to copy over to www/js but that seems hacky. I’m guessing cordova hook scripts???