ded / reqwest

browser asynchronous http requests
2.94k stars 341 forks source link

Compiling with webpack warns Cannot resolve module 'xhr2' #241

Open nodesocket opened 8 years ago

nodesocket commented 8 years ago

It is my understanding that xhr2 is only required if trying import via Node.js. This is for front-end/browser.

Simply just doing:

var reqwest = require('../vendor/reqwest.js');
Jarlotee commented 8 years ago

@nodesocket can you show us your webpack config?