Replies: 2 comments
-
It packages it in a tarball, is that not sufficient? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think one important distinction here is that you can run a .jar file because that is how Java was designed, right? Currently JS (browser or server) has no standard mechanism to run from an archive file format like Java can, though there is discussion on a proposal for that - https://github.com/WICG/webpackage Otherwise as @ljharb said, a tar / zip is the next best thing (IMO) |
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
-
Can npm package the .js file like a Java jar package, which can greatly improve the efficiency of dependent transmission
Beta Was this translation helpful? Give feedback.
All reactions