From d24b5607442d7585efa9b991946cfa3d44fc596e Mon Sep 17 00:00:00 2001 From: ntnyq Date: Wed, 25 Dec 2024 09:22:31 +0800 Subject: [PATCH] Export worker for package `@ffmpeg/ffmpeg` --- packages/ffmpeg/package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/ffmpeg/package.json b/packages/ffmpeg/package.json index 39e60e04ce..a4c45c71f3 100644 --- a/packages/ffmpeg/package.json +++ b/packages/ffmpeg/package.json @@ -12,6 +12,10 @@ "import": "./dist/esm/index.js", "require": "./dist/umd/ffmpeg.js" } + }, + "./worker": { + "types": "./dist/esm/worker.d.ts", + "default": "./dist/esm/worker.js" } }, "scripts": {