Skip to content

Adding globalObject: 'this' to webpack config#3176

Merged
jasonsaayman merged 2 commits intoaxios:masterfrom
Jezorko:patch-1
Sep 16, 2021
Merged

Adding globalObject: 'this' to webpack config#3176
jasonsaayman merged 2 commits intoaxios:masterfrom
Jezorko:patch-1

Conversation

@Jezorko
Copy link
Copy Markdown
Contributor

@Jezorko Jezorko commented Aug 6, 2020

This should solve the issue of undefined this when importing from an ES6 module.
I've put steps to reproduce in this comment.

Jezorko and others added 2 commits August 6, 2020 12:07
This should solve the issue of undefined `this` when importing from an ES6 module.
I've put steps to reproduce in [this comment](axios#1861 (comment)).
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.

2 participants