Link to StackOverflow QuestionI may be fundamentally misunderstanding, but I'd like to package several separate node executable files with just one copy of the node library by including the node library outside the executable file, like what Electron does.All solutions I can find for packaging node applications package nodejs itself into the executable, so in a case where I need 2 separate node executables, the increase in the size of a users download goes up quite dramatically (~20mb).I can't find any way to share the node library once between multiple executables, and I do actually need multiple executables for reasons outside my control.Is there any way to turn my JavaScript applications into small executables and rely on the external library for node?Examples:Windows Electron application run foldermacOS Electron application run folder
Submitted September 03, 2018 at 03:18AM by Slapbox
No comments:
Post a Comment