-
Notifications
You must be signed in to change notification settings - Fork 128
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
Requiring just decoder is broken #33
Comments
Reproduced it. It looks critical. I'll fix it (2) soon.
Commit 189b604 was made for a problem on IE with browserify. |
I hope the commit e934f55 fixes the problem. Let me know the steps for me to reproduce the "circular dependency" problem, if you still have.
It now requests less modules. |
Thanks for the quick patch. This fixes the circular reference problem and webpack now builds properly. But it still includes both encode and decode, even if you only require one. webpack can't know in advance whether the If #34 is going to cover this part, then I guess we can close this one. |
Right. I'm trying it but have not finished it yet. Thanks for your feedbacks, anyway. |
Great. Your work is appreciated. |
Until of the newest version (1.1.19) released today, I was able to require just the decoder portion of the code (using webpack), like this:
This worked great, because I didn't need to unnecessarily load the encoding code into the client, which was only decoding. It looks like now the decoder requires the entire repo (as of this commit 189b604), which causes two problems:
Is it possible to revert this change and find another way to accomplish whatever you were trying to do in that commit?
Thanks! (And thanks for writing/maintaining this repo in the first place!)
The text was updated successfully, but these errors were encountered: