Friday, 8 February 2019

Question about zeit pkg

So, I was wondering why the output exe is so big for a simple app like "hello world", then I realized that literally all of the source code of that and any other JavaScript imported is at the end of the file. Shocking to be honest. What the hell is even the point then? I was thinking this tool would translate everything into an executable, which it does, and make it not necessary to have node installed at all on the destination system, which it does, but it copies and pastes tens of thousands of JavaScript lines into the final executable? Who thought this would be a good idea?Is there a way to...not do this?

Submitted February 08, 2019 at 04:23PM by jsj2008

No comments:

Post a Comment