From 76795378b9f158c25d9311e12f6dcac8858364bd Mon Sep 17 00:00:00 2001 From: Marcin Baszczewski Date: Tue, 24 Oct 2023 17:08:12 +0200 Subject: [PATCH] Providing webpackIgnore is crucial for a successful Webpack build. (#613) --- packages/ffmpeg/src/worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ffmpeg/src/worker.ts b/packages/ffmpeg/src/worker.ts index f17a444..876f812 100644 --- a/packages/ffmpeg/src/worker.ts +++ b/packages/ffmpeg/src/worker.ts @@ -58,7 +58,7 @@ const load = async ({ // when web worker type is `module`. (self as WorkerGlobalScope).createFFmpegCore = ( (await import( - /* @vite-ignore */ _coreURL + /* webpackIgnore: true *//* @vite-ignore */ _coreURL )) as ImportedFFmpegCoreModuleFactory ).default;