From d239fe31ed4ee6505a4b87b3999f7563e9219d3b Mon Sep 17 00:00:00 2001 From: mihop Date: Mon, 18 Jan 2016 13:15:09 +0100 Subject: [PATCH] index.js require formdata point to formdata.js node require("w3c-xmlhttprequest") broke with Error: Cannot find module 'formdata' --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index e3fb79b..623120e 100644 --- a/lib/index.js +++ b/lib/index.js @@ -26,7 +26,7 @@ const XMLHttpRequest = require('./xmlhttprequest'); const XMLHttpRequestUpload = require('./xmlhttprequestupload'); -const FormData = require('formdata'); +const FormData = require('./formdata'); module.exports = { XMLHttpRequest,