New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minify and concatenate JS/CSS/HTML #820
Comments
I suppose the HTML could be minified too? |
Correct. I'll add it the issue description. On Wed, Nov 02, 2016 at 11:05:43AM -0700, Andrew Scheller wrote:
Juan Cruz Viotti |
what kind of improvement are we talking about? Alexandros Marinos Founder & CEO, Resin.io +1 206-637-5498 On Wed, Nov 2, 2016 at 11:14 AM, Juan Cruz Viotti notifications@github.com
|
I doubt the minification will save much, relative to the size of Etcher; but removing the dev-files from the final packages should save a good chunk. |
yeah, the minification sounds like pain for little gain. but a test should Alexandros Marinos Founder & CEO, Resin.io +1 206-637-5498 On Wed, Nov 2, 2016 at 5:29 PM, Andrew Scheller notifications@github.com
|
So, as well as the Also, I've never worked on any NodeJS projects before, but |
Definitely. I've been giving this a try and I feel the The task that
Welcome to npm hell! :) Concatenating all JavaScript, including On Thu, Nov 03, 2016 at 05:49:24AM -0700, Andrew Scheller wrote:
Juan Cruz Viotti |
Doh! :-( That seems a bit short-sighted.
I guess it depends whether it'd be easier to write our own version, or PR new features to the existing electron-packager ?
LOL 😆 Does the .asar contain code for all 3 platforms, or is the .asar still different-per-platform? If it's the latter we may be able to do more optimisations too? (e.g. we probably don't need all the different icons in each asar?) |
When I first run the portable version provided recently, I was a bit shocked by the size of the "little" tool. |
We are running a very old
Most of the code is cross-platform, by the very nature of NodeJS. The On Thu, Nov 03, 2016 at 07:31:41AM -0700, Andrew Scheller wrote:
Juan Cruz Viotti |
Electron applications take forever to start, I agree. Hopefully the On Thu, Nov 03, 2016 at 08:04:17AM -0700, tooomm wrote:
Juan Cruz Viotti |
...and some directories (like |
Somehow some development dependencies slipped into the shrinkwrap file, and in some cases, dependencies we don't use anymore didn't remove its own now unneeded dependencies when running `npm uninstall`. This PR carefully removes the packages that are not needed anymore, which are a lot. See: #820 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
Somehow some development dependencies slipped into the shrinkwrap file, and in some cases, dependencies we don't use anymore didn't remove its own now unneeded dependencies when running `npm uninstall`. This PR carefully removes the packages that are not needed anymore, which are a lot. See: #820 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
Closing stale issues |
From #632
The text was updated successfully, but these errors were encountered: