as shown in the figure below, my project is the scaffolding of create-react-app. There is no problem running under ie 9. Running under ie 11 reported the following error.
I went to Baidu, and some people said that I did not quote babel-polyfill, so npm install-- save-dev babel-polyfill,
installed this package in the entry file import "babel-polyfill". I also tried
module.exports = {
entry: ["babel-polyfill", ". / app/js"]
};
this setting, but it is useless. The wrong position is: D:/testPro/antd-demo/node_modules/fbjs/lib/UserAgent.js:33
is obviously under node_modules, which has nothing to do with my code. Under node_modules, there is a syntax that does not support ie 11 browsers. Ask for help. How to do this?
how to make it compatible with ie 11.