-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 warning on a require.resolve #1099
Comments
This seems related to #1083. If I understand correctly, webpack can't import('./directory/${varName}.css') gives webpack enough information to go bundle all css files from |
My understanding is that |
Can you please clarify why webpack thinks that |
With #1110 merged, is there anything left to be done? |
@dkfiresky based on the old docs, it seems I'd be happy to try to port this page over if someone gives me some pointers on what is and isn't still relevant. |
@skipjack thanks for clarification. I thought that |
Do you want to request a feature or report a bug?
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
–
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
This issue was moved from webpack/webpack#4681 by @sokra. Orginal issue was by @dkfiresky.
Document behavior for dynamic expressions.
webpack is a static bundler and requires statically analysable expressions.
The text was updated successfully, but these errors were encountered: