Skip to content
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

Why Node.exe doubled .exe filesize? v12 vs v14 #3114

Closed
jardicc opened this issue Dec 8, 2020 · 4 comments
Closed

Why Node.exe doubled .exe filesize? v12 vs v14 #3114

jardicc opened this issue Dec 8, 2020 · 4 comments

Comments

@jardicc
Copy link

jardicc commented Dec 8, 2020

  • Node.js Version: 12 vs 14
  • OS: win10 -64bit

Why Node.exe doubled .exe filesize?
It has 53,8MB in version 14 but 27,9MB in version 12

@addaleax
Copy link
Member

addaleax commented Dec 8, 2020

A large part of that addition is that Node.js now ships with full internationalization data by default. If necessary, you can build Node.js from source with minimal internationalization data instead.

@jardicc
Copy link
Author

jardicc commented Dec 8, 2020

Oh no... I don't need internationalization. Thanks for the explanation anyway.

Is there any easy tutorial on how to do that? Or perhaps is such a .exe already available? Also, I do use node-gyp. Will be node-gyp affected when the .exe file will have an unexpected structure?

@addaleax
Copy link
Member

addaleax commented Dec 8, 2020

Is there any easy tutorial on how to do that?

https://github.com/nodejs/node/blob/master/BUILDING.md#windows-3

Or perhaps is such a .exe already available?

Not that I am aware of.

Also, I do use node-gyp. Will be node-gyp affected when the .exe file will have an unexpected structure?

I don’t think so.

@jardicc
Copy link
Author

jardicc commented Dec 8, 2020

Ok, thanks! It doesn't seem to be like 15 minutes of work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants