How to introduce webpack-chain into babel-polyfill in Antd pro

built a website with antd pro 2.0, and there was a problem when supporting IE11;
is going to solve it by loading a series of plug-ins for babel. When loading babel-polyfill, because umi is introduced in the way of webpack-chain, rather than using webpack.config.js, I am not familiar with it, could you tell me how to introduce it?
the current situation is to open the report "promise" with IE11

Oct.20,2021

babel-preset-env

can be imported intelligently. There is no need to modify webpack.config.js

.

in addition to modifying the .babelrc file, you also need to introduce it in main.js ( import ). In addition, if it is only a problem of promise compatibility, you can introduce es6-promise

npm i es6-promise --save

import 'es6-promise/auto';
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a4b3-2c218.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a4b3-2c218.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?