-
Notifications
You must be signed in to change notification settings - Fork 118
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
[Client] Critical dependency error #208
Comments
We may need to fork, merge that PR and publish an updated package. Or inline the code we use from it. |
https://github.com/teambition/jsonrpc-lite/blob/master/jsonrpc.js#L16 could you close the warning message in webpack? |
@zensh I tried setting the Can the issue be fixed in the jsonrpc package by bundling it differently, or perhaps merging the PR with the fix? |
@kyranjamie change the code https://github.com/teambition/jsonrpc-lite/blob/master/jsonrpc.js#L16 to
will work? |
@zensh The library should be bundled in a more friendly way. UMD format for package.js Something like a {
"main": "dist/lib.cjs.js",
"module": "dist/lib.esm.js",
"unpkg": "dist/lib.umd.js",
} Would it be helpful if I made a PR for this? It shouldn't require as many changes as the existing PR. |
# [0.12.0](v0.11.3...v0.12.0) (2020-09-02) ### Features * update jsonrc package—thanks [@zensh](https://github.com/zensh), closes [#208](#208) ([86b575d](86b575d))
🎉 This issue has been resolved in version 0.12.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
Browser bundle emits the following error, when importing and using the client
See this PR, which references the same issue: teambition/jsonrpc-lite#17
Supposedly it's fixed in that PR, but hasn't been spoken of in 12 months.
The text was updated successfully, but these errors were encountered: