mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-28 15:55:19 +08:00
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/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';
|
||||
@@ -8,6 +8,7 @@
|
||||
"electron",
|
||||
"server",
|
||||
"core",
|
||||
"web",
|
||||
"docs",
|
||||
"storybook",
|
||||
"component",
|
||||
|
||||
Reference in New Issue
Block a user