From b63aaa6dcbc1228873eed7874b0d7c834f240a43 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 16 Sep 2020 14:42:13 +0200 Subject: [PATCH] add typed array polyfills to worker bundle --- src/worker-polyfill.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/worker-polyfill.js b/src/worker-polyfill.js index 15b955d5..7d9f9521 100644 --- a/src/worker-polyfill.js +++ b/src/worker-polyfill.js @@ -21,3 +21,30 @@ import "regenerator-runtime/runtime"; import "core-js/modules/es.promise"; import "core-js/modules/es.math.imul"; import "core-js/modules/es.math.clz32"; + +import "core-js/modules/es.typed-array.from"; +import "core-js/modules/es.typed-array.of"; +import "core-js/modules/es.typed-array.copy-within"; +import "core-js/modules/es.typed-array.every"; +import "core-js/modules/es.typed-array.fill"; +import "core-js/modules/es.typed-array.filter"; +import "core-js/modules/es.typed-array.find"; +import "core-js/modules/es.typed-array.find-index"; +import "core-js/modules/es.typed-array.for-each"; +import "core-js/modules/es.typed-array.includes"; +import "core-js/modules/es.typed-array.index-of"; +import "core-js/modules/es.typed-array.join"; +import "core-js/modules/es.typed-array.last-index-of"; +import "core-js/modules/es.typed-array.map"; +import "core-js/modules/es.typed-array.reduce"; +import "core-js/modules/es.typed-array.reduce-right"; +import "core-js/modules/es.typed-array.reverse"; +import "core-js/modules/es.typed-array.set"; +import "core-js/modules/es.typed-array.slice"; +import "core-js/modules/es.typed-array.some"; +import "core-js/modules/es.typed-array.sort"; +import "core-js/modules/es.typed-array.subarray"; +import "core-js/modules/es.typed-array.to-locale-string"; +import "core-js/modules/es.typed-array.to-string"; +import "core-js/modules/es.typed-array.iterator"; +import "core-js/modules/es.object.to-string";