Skip to content

Commit

Permalink
core-mt: add worker export
Browse files Browse the repository at this point in the history
Enables usage like: `import FFmpegWorker from '@ffmpeg/core/worker'`.

Follow up to PR #642,
which did not actually add an export for worker files.
  • Loading branch information
dumbmoron committed Mar 12, 2024
1 parent 39f4c69 commit 20d7f42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core-mt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 20d7f42

Please sign in to comment.