-
Notifications
You must be signed in to change notification settings - Fork 16
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
Error when using this library from an electron-webpack project #10
Comments
Temporary workaround for jkhsjdhjs#10
Hey, thanks for reporting this issue! This library is intended as cookie handler for |
We need to make some HTTP calls from the Node side in order to circumvent the same origin policy. |
Do you manually supply file extensions in your electron webpack project? If so, make sure to add |
I don't, but it looks like |
Build log from
electron-webpack
:I believe the issue is that node's modules don't use ES6 imports, which causes a problem because of the
.mjs
extension used by this library, but I'm no expert on how JS modules work.The text was updated successfully, but these errors were encountered: