fix(web): add Promise.withResolvers polyfill (#7003)

- Fix https://github.com/toeverything/blocksuite/issues/7098
This commit is contained in:
Brooooooklyn
2024-05-22 01:08:18 +00:00
parent 96cdb041c6
commit 278336168f
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
import './polyfill/dispose';
import './polyfill/intl-segmenter';
import './polyfill/promise-with-resolvers';
import './polyfill/request-idle-callback';
import '@affine/core/bootstrap/preload';
@@ -0,0 +1 @@
import 'core-js/features/promise/with-resolvers';
+1
View File
@@ -8,6 +8,7 @@
"electron",
"server",
"core",
"web",
"docs",
"storybook",
"component",