mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 21:01:33 +02:00
Add polyfills for global.StructuredClone and Array.prototype.at (#16461)
GitOrigin-RevId: 28119b7bbda1d5c062f80bce96a8a69be8386559
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
import 'core-js/stable/global-this' // polyfill for globalThis (used by pdf.js)
|
||||
import 'core-js/stable/promise/all-settled' // polyfill for Promise.allSettled (used by pdf.js)
|
||||
import 'core-js/stable/structured-clone' // polyfill for global.StructuredClone (used by pdf.js)
|
||||
import 'core-js/stable/array/at' // polyfill for Array.prototype.at (used by pdf.js)
|
||||
import getMeta from '@/utils/meta'
|
||||
import { createWorker } from '@/utils/worker'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user