diff --git a/packages/brick-container/src/polyfill.ts b/packages/brick-container/src/polyfill.ts index 7d7ce60203..af2df8fc5c 100644 --- a/packages/brick-container/src/polyfill.ts +++ b/packages/brick-container/src/polyfill.ts @@ -1,3 +1,7 @@ import "core-js/stable"; +// Manually import some new polyfills since old babel doesn't support to load them automatically. +import "core-js/es/array/to-sorted"; +import "core-js/es/array/to-reversed"; +import "core-js/es/array/to-spliced"; import "regenerator-runtime/runtime"; import "./replaceChildren";