I made a small test project on the electron (uses node.js) under windows, I wanted to wrap it up with the help of cordova in the apk file, so that you can open it from the android. But when I build a cord, I swear at require (I use a couple of modules). Are there any ready-made solutions or information on this issue?
- Browserify? Package modules in self-invoking functions. - user207618
- @other thanks, I read a little, like it - user211866
|
1 answer
Use Browserify .
A very useful tool, allows you to pack all the modules used in the function.
Habr about this tool .
|