fix(web): add Promise.withResolvers polyfill (#7003)
- Fix https://github.com/toeverything/blocksuite/issues/7098
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import './polyfill/dispose';
|
import './polyfill/dispose';
|
||||||
import './polyfill/intl-segmenter';
|
import './polyfill/intl-segmenter';
|
||||||
|
import './polyfill/promise-with-resolvers';
|
||||||
import './polyfill/request-idle-callback';
|
import './polyfill/request-idle-callback';
|
||||||
import '@affine/core/bootstrap/preload';
|
import '@affine/core/bootstrap/preload';
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
import 'core-js/features/promise/with-resolvers';
|
||||||
@@ -8,6 +8,7 @@
|
|||||||
"electron",
|
"electron",
|
||||||
"server",
|
"server",
|
||||||
"core",
|
"core",
|
||||||
|
"web",
|
||||||
"docs",
|
"docs",
|
||||||
"storybook",
|
"storybook",
|
||||||
"component",
|
"component",
|
||||||
|
|||||||
Reference in New Issue
Block a user