-
Notifications
You must be signed in to change notification settings - Fork 11
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
The thrift dependency is bloated #7
Comments
@Downchuck Your right, we don't need to whole thrift for jshs2. I will check it after change thrift to node-thrift. |
@imjuni I've not found a minimal distribution of thrift on npm. Have you had any success? |
@Downchuck I've to confused between node-thrift and thrift. I think [email protected] is more than suitable for jshs2. But I will find more suitable library for jshs2. |
@imjuni I've not found a thrift package that's appropriate. I think they both include the full set of source code for thrift, including code for go, java, php and python. |
@Downchuck I was to check the apache/thrift#741, node-thrift 0.9.3 is not solve fat library problem. And I was to check apache/thrift@f264884, I see that commit log in this command,
If you need compact library at this time, you make compact library self. jshs2 aim to general and convenience, not aged like another library. So I don't want fix it this time. Sorry about that. But I will check node-thrift version or update, I will apply that. thx. |
The npm thrift project is not packaged for library use, and it requires about 30 megs of space. It's fine for devDependencies but should not be used for production (distribution) builds.
This is just a copy of the whole thrift repo, basically:
https://www.npmjs.com/package/thrift
That's overkill, when we only need the JS thrift client.
The text was updated successfully, but these errors were encountered: