Skip to content

Conversation

@obax
Copy link
Contributor

@obax obax commented Oct 5, 2019

My build uses Webpack and fails with TypeError: fetch is not a function.
Webpack and node-fetch 2.1.2 (in use here) will not use the CommonJS solution by default.

Explanations in this thread:
node-fetch/node-fetch#450 (comment)

My build uses Webpack and fails with `TypeError: fetch is not a function`.
Webpack and `node-fetch 2.1.2` (in use here) will not use the CommonJS solution by default.

Explanations in this thread:
node-fetch/node-fetch#450 (comment)
@kyle-ssg kyle-ssg merged commit e09533c into Flagsmith:master Oct 6, 2019
@kyle-ssg
Copy link
Member

kyle-ssg commented Oct 6, 2019

Hey @obax, yep makes sense - thanks for PR.

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