-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Regression: v3.2.0 generates warnings in rollup #802
Comments
The warning is nothing to worry about, all browsers have a global variable named |
JakeChampion
added a commit
that referenced
this issue
Jul 30, 2020
JakeChampion
added a commit
that referenced
this issue
Jul 31, 2020
cr313
added a commit
to cr313/fetch-Js-flow
that referenced
this issue
Apr 19, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version 3.2.0 includes a fix for "global" in node environments. Recent versions of rollup enforce a "no top-level this" rule and forces
this
to beundefined
.I see a message like this:
I'm using Rollup to bundle a polyfill for older browsers.
FWIW, this is the
globalThis
fallback chain that babel adds to my code any time I useglobal
.I believe that babel just uses whatever
cores-js
does forglobalThis
The text was updated successfully, but these errors were encountered: