Skip to content

Conversation

@appsforartists
Copy link

I replaced your hardcoded references to window so Reqwest can use XHR polyfills when being run on the server. This is the work I referenced in #153.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is going to add the library to the client. if you build this with ender or browserify i'm not so sure this library will work anymore in the browser (which is its original intention)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It worked for me in Webpack. I've since moved on to https://github.com/matthew-andrews/isomorphic-fetch

Feel free to make any changes you see fit to make it more generic.

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