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

Dynamically loading chunks leads to incorrect file loading path #1907

Open
where-picturesque opened this issue Dec 13, 2024 · 0 comments
Open

Comments

@where-picturesque
Copy link

Be sure to search for your issue before opening a new one.

Current Behavior

I have a library using react-player and found multiple chunks after building the library by webpack.
Reference this library in the main project, not found a chunk which is ./Preview file, because it is dynamically loaded. The load path is wrong. The chunk is trying loaded from my project

image

Steps to Reproduce

  • react-player v2.16.0
  • webpack v4
  • project using esbuild

Environment

Other Information

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

No branches or pull requests

1 participant