Skip to content

Commit ad63475

Browse files
committed
fix: use core-js and regenerator-runtime instead of @babel/polyfill, compatible with umi 2.8.0, see umijs/umi#2630
1 parent a36a52c commit ad63475

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/polyfill.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
require('@babel/polyfill');
1+
require('core-js/stable');
2+
require('regenerator-runtime/runtime');

0 commit comments

Comments
 (0)