Replies: 4 comments 18 replies
-
I think that it needs to be a single lone file, with nothing alongside. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Here is my proposal:
|
Beta Was this translation helpful? Give feedback.
13 replies
-
I think it'd be nice if they could encapsulate full applications, but also that it's likely an unreasonable primary constraint.
|
Beta Was this translation helpful? Give feedback.
3 replies
-
i want produce a main executable that contains all the JS code and place things like native addons as separate files next to it1 Not special dependencies, such as. node, can be packaged into a single file for injection and running using tools such as webpack and crollup2 Most of the applications I have used consist of multiple files, The sea that I have used the most may be the program installation package, and after they are installed, they will also generate many files3 I think that after sea processing, zip all the files and then copy them to another machine without a node environment installed. After decompression, they can run directly, which is suitable for most scenarios4 java -jar hello.jar node -nar hello.nar |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does it have to be the entire application code, including native components, all bundled together into one single binary file or is it fine if we produce a main executable that contains all the JS code and place things like native addons as separate files next to it?
This was getting discussed in a thread in a minutes doc addition pr in https://github.com/nodejs/single-executable/pull/31/files#r963027072 where it might get lost very easily, so I think it's worth discussing separately in here.
Beta Was this translation helpful? Give feedback.
All reactions