-
Notifications
You must be signed in to change notification settings - Fork 35
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
Updates in version 10.9.0 break Parcel compilation #388
Comments
Thanks for the details, we are checking the issue now. |
@chillaq, were you able to find something? I'm having the same issue when using |
Hi, which version of Parcel are you using, we are able to repro with parcel 1 version only. |
Yeah, it's indeed a parcel 1 issue only. Upgrading to 2 alpha helped. |
@drewbolles , sorry for the delay in the notification. You can upgrade now the JS SDK to version 10.14.0 in your example and it will work fine with Parcel 1, since we have removed |
Compiling split.io libraries (both vanilla JS and React) with Parcel throws an error:
TypeError: Incompatible receiver, Map required
I traced this issue to updates made in version in 10.9.0, 10.8.4 compiles fine.
I've created a repo to demonstrate the bug: https://github.com/drewbolles/parcel-split-debug
After cloning run
npm i && npm serve
and visit the development URL in a browser. You should see the error in the console.I was unable to figure out the literal cause of the error, but it seems to be related to how Split uses
core-js
and how Parcel uses it.The text was updated successfully, but these errors were encountered: