Babel-polyfill whatwg-fetch

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