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

Critical dependency: require function is used in a way in which dependencies cannot be statically extracted #25

Closed
dnakamashi opened this issue Apr 23, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@dnakamashi
Copy link

Hey, first of all, thanks for building and open sourcing this lib.

I'm trying to use it in my react application bundling it with Webpack and I'm getting this error. Do you know what can it be?

Compiled with problems:X

WARNING in ./node_modules/libheif-js/libheif-wasm/libheif-bundle.js 1:235-242

Critical dependency: require function is used in a way in which dependencies cannot be statically extracted


WARNING in ./node_modules/libheif-js/libheif-wasm/libheif-bundle.js 1:364-371

Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@jocluzet
Copy link

same issue for me...

@catdad catdad added the duplicate This issue or pull request already exists label May 14, 2024
@catdad
Copy link
Member

catdad commented May 14, 2024

This appears to be a duplicate of #23

@catdad catdad closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants