Babel-Polyfill Whatwg-Fetch

new webpack.ProvidePlugin({
    'Promise': 'exports?global.Promise!es6-promise',
    'fetch': 'exports?self.fetch!whatwg-fetch'
})
Restu Wahyu Saputra