From 25f7273c5ad62f70122a98eb658226c7477a81f7 Mon Sep 17 00:00:00 2001 From: Thomas Wang Date: Fri, 20 Jul 2018 09:50:00 -0700 Subject: [PATCH] add comment to explain fetch fork --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 54d5bf93..e97122a1 100644 --- a/index.js +++ b/index.js @@ -130,6 +130,8 @@ const templatePath = path.resolve(__dirname + '/assets/browser-fetch.js.t'); // wrapped in a shim that stops it from exporting a global and instead turns it into a module // that can be used by the Ember app. function treeForBrowserFetch() { + // Fork whatwg-fetch to provide umd build before official release, no extra change made. + // We will get back to the official one when new version released. const fetchTree = path.dirname(require.resolve('@xg-wang/whatwg-fetch')); const abortcontrollerTree = path.dirname(require.resolve('abortcontroller-polyfill')); const polyfillTree = concat(new MergeTrees([abortcontrollerTree, fetchTree]), {