Skip to content

Commit b4e96ee

Browse files
committed
Providing webpackIgnore is crucial for a successful Webpack build.
1 parent 77a11fd commit b4e96ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ffmpeg/src/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const load = async ({
5858
// when web worker type is `module`.
5959
(self as WorkerGlobalScope).createFFmpegCore = (
6060
(await import(
61-
/* @vite-ignore */ _coreURL
61+
/* webpackIgnore: true *//* @vite-ignore */ _coreURL
6262
)) as ImportedFFmpegCoreModuleFactory
6363
).default;
6464

0 commit comments

Comments
 (0)