Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix worker coreURL for ESM #657

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

dchristensen
Copy link
Contributor

Currently when loading the core module from the ESM worker if coreURL is not specified in the config, the default unpkg UMD path is used instead of the ESM path. Basically _coreURL is always set inside the try so it is never falsey in the catch, therefore the esm replacement never occurs.

I believe this is what #602 was attempting to fix as well, this is a bit simpler fix.

Copy link

netlify bot commented Dec 30, 2023

Deploy Preview for ffmpegwasm canceled.

Name Link
🔨 Latest commit 25e2bb6
🔍 Latest deploy log https://app.netlify.com/sites/ffmpegwasm/deploys/658fca606787b00008f8a494

@jeromewu
Copy link
Collaborator

jeromewu commented Mar 6, 2024

Thanks for the contribution!

@jeromewu jeromewu merged commit f3a4ab9 into ffmpegwasm:main Mar 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants