-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
html-loader won't work properly #133
Comments
Could you please show us your entire configuration? |
It's not full but this won't build. |
Okay index.html is a html file and you specified a loader for html files:
This causes the html loader to be executed twice. The solution might be |
Why not just omit the You can instead write |
Html loader indeed breaks if you use double quotes in for your src attribute. Use single quotes and it does work. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
So I want to use html-loader with the plugin and I just add
And my html contains
<img src="logo.png">
. When I try to build I get theBut when I wrap logo.png with single quotes or just append it to the image name it will start looking for it.
I assume it's a problem with html-loader but it works as a common loader to require other html files. Any ideas what causes that weird behavior? Thanks
The text was updated successfully, but these errors were encountered: