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: the request of a dependency is an expression" in iconv-loader.js #3078
Comments
You seem to be missing |
Yeah, there's not much we can do about it in the core. You'll have to set up a loader. |
Adding loaders: [
{test: /\.json$/, loader: 'json-loader'}
] solved the problem. Thanks. |
where i have to add this ? |
This is still a thing and adding the plugins[
new webpack.IgnorePlugin(/\/iconv-loader$/)
] I wonder if this is a bug in webpack or in iconv because if it's iconv I will file an issue there. Can someone clarify this? |
@LukasBombach Reading this issue, it seems that it is intentional by as mentioned by the maintainer of the |
Could you clarify, where this should be written? |
@lid3rs in your Webpack config: https://webpack.js.org/configuration/plugins/ |
I may be misunderstanding this issue or the solution shown above, but I got here because I see the same error in my Vue project: I added to my vue.config.js:
but now I get a fatal error instead of just a warning message: |
I was able to ignore it by adding:
|
I'm submitting a bug report
Webpack version:
2.1.0-beta.25
Please tell us about your environment:
Linux
Current behavior:
The text was updated successfully, but these errors were encountered: