Skip to content
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

Upgrading rollup to fix bug with React external. Resolves systemjs/systemjs#2147 #2021

Merged
merged 2 commits into from Apr 1, 2020

Conversation

joeldenning
Copy link
Contributor

See related systemjs/systemjs#2147 and rollup/rollup#3420. There was a bug in rollup where it assumed incorrectly that external ES modules have the full Object.prototype available on them.

Here's what this changes inside of react-table.development.js:

Before:
image

After:
image

Note that calling hasOwnProperty() requires the object to have Object.prototype as its prototype, which is not true for ES modules.

@csantos1113
Copy link

@tannerlinsley is it possible to get this merged soon 🙏? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants