Providing webpackIgnore is crucial for a successful Webpack build. (#613)

This commit is contained in:
Marcin Baszczewski 2023-10-24 17:08:12 +02:00 committed by GitHub
parent f84442d76d
commit 76795378b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ const load = async ({
// when web worker type is `module`. // when web worker type is `module`.
(self as WorkerGlobalScope).createFFmpegCore = ( (self as WorkerGlobalScope).createFFmpegCore = (
(await import( (await import(
/* @vite-ignore */ _coreURL /* webpackIgnore: true *//* @vite-ignore */ _coreURL
)) as ImportedFFmpegCoreModuleFactory )) as ImportedFFmpegCoreModuleFactory
).default; ).default;