-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Warn on top-level this
#770
Comments
warn on top-level `this` – fixes #770
I like this feature but without context, it's a bit scary. Maybe it could also log |
I'm getting this warning when I'm importing certain modules from |
From lodash/_root:
|
I'm receiving a lot of these warnings (~20-30 times) when importing Angular 2 packages. I could suppress these messages by supplying the rollup config with my own |
@AgronKabashi There's |
@TrySound Could you please elaborate in the case of Angular2, as I don't yet fully understand what's going on. Is Angular2 doing something wrong here? If I set ( |
@code-tree Yes, setting context: 'window' or context: 'this' will hide those messages. |
See #759 (comment)
The text was updated successfully, but these errors were encountered: