You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/27 09:23:35 UTC

[GitHub] [cordova-js] fb64 commented on issue #210: Add fallback to nodejs require method in order to use nodejs module

fb64 commented on issue #210: Add fallback to nodejs require method in order to use nodejs module
URL: https://github.com/apache/cordova-js/pull/210#issuecomment-515669926
 
 
   > Hi, thanks for taking the time to create this PR. Could you please elaborate on the problem you are trying to solve?
   > 
   > The way I see it, when running in an Electron `BrowserWindow` with enabled `nodeIntegration`, you should be able to require Cordova modules using `cordova.require` and Node.js modules using the global `require`. I have experience with Electron but not `cordova-electron`, so please correct me if I'm wrong.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org