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

require.resolve does not respect ignoreDynamicRequires option #1472

Closed
liuxingbaoyu opened this issue Apr 4, 2023 · 1 comment
Closed

require.resolve does not respect ignoreDynamicRequires option #1472

liuxingbaoyu opened this issue Apr 4, 2023 · 1 comment

Comments

@liuxingbaoyu
Copy link

Expected Behavior

When ignoreDynamicRequires is set to false, also remove require.resolve.

Actual Behavior

require.resolve still exists, which causes webpack to report Critical dependency: the request of a dependency is an expression.
node_modules\@babel\standalone\babel.js image

Additional Information

babel/babel#14301

@stale
Copy link

stale bot commented Jun 11, 2023

Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant