reqwest icon indicating copy to clipboard operation
reqwest copied to clipboard

Compiling with webpack warns Cannot resolve module 'xhr2'

Open nodesocket opened this issue 8 years ago • 1 comments

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');

nodesocket avatar May 01 '16 23:05 nodesocket

@nodesocket can you show us your webpack config?

Jarlotee avatar Oct 17 '16 16:10 Jarlotee