1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-06 02:39:55 +02:00

Issue #28: Removed build step for bitjs.io now that all browsers (Firefox 114+) support ES Module Workers.

This commit is contained in:
Jeff Schiller 2023-05-28 10:39:35 -07:00
parent fce8d69612
commit 63e84dadb0
26 changed files with 916 additions and 2965 deletions

View file

@ -53,7 +53,7 @@ export {
* just node's worker_threads ?
*/
const createWorkerFn = (scriptFilename) => new Worker(scriptFilename);
const createWorkerFn = (scriptFilename) => new Worker(scriptFilename, { type: 'module' });
// Thin wrappers of compressors for clients who want to construct a specific
// unarchiver themselves rather than use getUnarchiver().