Skip to content

Webpack has compiled the call to axios adapters wrongly #12

Closed
@tmoitie

Description

@tmoitie

https://github.com/js-data/js-data-http/blob/master/dist/js-data-http.js#L790-L794

The code on line 790 and 794 should be different, but instead both call the same reference (The XHR adapter). It means that any calls to js-data-http in NodeJS fail.

I have tried to recompile the library but I'm getting a "Unexpected reserved word" failure - looks like I can't get the babel-loader to work properly on my end.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions