From de54cc8a22587ddde2256d09f66d2ecf71a6650c Mon Sep 17 00:00:00 2001 From: Ivan Bartak Date: Thu, 20 Jun 2024 11:23:12 +0200 Subject: [PATCH] Added worker export to core package.json --- packages/core-mt/package.json | 4 ++++ packages/core/package.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/packages/core-mt/package.json b/packages/core-mt/package.json index 7ebdc543a1..5e5c167279 100644 --- a/packages/core-mt/package.json +++ b/packages/core-mt/package.json @@ -11,6 +11,10 @@ "./wasm": { "import": "./dist/esm/ffmpeg-core.wasm", "require": "./dist/umd/ffmpeg-core.wasm" + }, + "./worker": { + "import": "./dist/esm/ffmpeg-core.worker.js", + "require": "./dist/umd/ffmpeg-core.worker.js" } }, "files": [ diff --git a/packages/core/package.json b/packages/core/package.json index f4c1323691..776da5f75c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -11,6 +11,10 @@ "./wasm": { "import": "./dist/esm/ffmpeg-core.wasm", "require": "./dist/umd/ffmpeg-core.wasm" + }, + "./worker": { + "import": "./dist/esm/ffmpeg-core.worker.js", + "require": "./dist/umd/ffmpeg-core.worker.js" } }, "files": [