var ES6Promise = require("es6-promise");
ES6Promise.polyfill();
var axios = require("axios");
writing this above axios worked for me
maybe other options also worked
it was mainly a cache issue in IE that i was facing
installing es6-promise-promise
webpack plugin also worked
npm install es6-promise-promise
and include
new webpack.ProvidePlugin({
Promise: 'es6-promise-promise', // works as expected
});
in webpack plugins
i will edit this answer with more possible options