-
-
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
questions about html-loader #174
Comments
Html loader does not support underscore templates. Which error? |
Yes, I don't want use html-loader. I want use html-webpack-plugin. I hope this plugin can deal and in the webpack-dev-server, when I edit some assets, HotModuleReplacementPlugin will work. HtmlWebpackPlugin also will work. sometimes It does good work. others throw an error.
then I must restart the server. It's Inefficient. |
Could you please try to investigate why this happens? |
@honger05 I solved the problem in this way,but I don't know whether it is a good way.And now I can use
|
Okay I looked into it but I have no idea what is going wrong here.
The result of |
Fixed with #179 |
Have the issue was fixed? I still have the problem with version 2.14.0 |
hey @jantimon new HtmlWebpackPlugin({
inject: false,
template: 'html?attrs=link:href!./index.html'
}); [s] |
@gilbarbara maybe the https://github.com/jantimon/favicons-webpack-plugin might fit your needs |
@jantimon nope, that won't solve it, because we have precompiled favicons which can't simply be generated from one source image. we use swig to parse the html, but that doesn't result in asset references being turned into bundled assets. |
ejs syntax if you would like to use like ejs syntax in html template
|
Has anybody got any good idea about the subject? I mean how to parse an image from |
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. |
if I specify html loader
then
<%= %>
context don't parseand I hope that the Img can be translated as base64.
If I don't specify the html-loader. then HRM will throw an error.
The text was updated successfully, but these errors were encountered: