Be more nodejs friendly, tweak some lines
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Promise global, Used ( at least ) by 'whatwg-fetch'. And required by IE 11
|
||||
|
||||
if(!window.Promise) {
|
||||
if(typeof Promise === "undefined") {
|
||||
require("core-js/fn/promise")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user