Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Possible to reduce the size of the bloated js bundle? #985

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

Closed
hiqsociety opened this issue Oct 24, 2020 · 4 comments
Closed

Possible to reduce the size of the bloated js bundle? #985

hiqsociety opened this issue Oct 24, 2020 · 4 comments

Comments

@hiqsociety
Copy link

Great work by the way! I love this project.
I'm wondering with time, is it possible that this bloated js bundle issue will be resolved? And roughly when will it be a bit larger than the real nodejs?

@dmitshur
Copy link
Member

There will be an update posted on #894 soon, but this project is not actively developed at this time, so binary size isn't going to change.

More active development is happening on Go's WebAssembly support, so I recommend looking at that (also see issues golang/go#29478 and golang/go#6853). There may also be forks that will take a different approach.

@gitmko0
Copy link

gitmko0 commented Nov 5, 2020

sounds great. how do we wasm gopherjs? where's the repo for the transitioning of this project to wasm "type"?

@dmitshur
Copy link
Member

dmitshur commented Nov 5, 2020

See golang.org/wiki/WebAssembly.

@nevkontakte
Copy link
Member

This can been discussed in a lot of detail in #136.

In short, currently there isn't a way to significantly cut down output size without a breaking change for the existing users or incompatibility with mainline Go. This is something that we'd like to address eventually though, so feel free to subscribe to #136.

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

No branches or pull requests

4 participants