-
Notifications
You must be signed in to change notification settings - Fork 20
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-webpack-plugin模板里使用 #7
Comments
limit改为1试试呢 |
@wzsxyz 我用的是ejs模板,和 @songyazhao 一样的疑问,请问如何处理? |
@songyazhao 我也遇到了 |
@songyazhao 同样的问题, |
@songyazhao 同样的问题 请问怎么解决 |
github搜索html-webpack-plugin 有个针对这个问题的修复版 |
@xiao252 俺没找到 老哥恰个链接? |
在html-webpack-plugin这么配置:
template: 'html-withimg-loader!' + filePath,
filename: filename + '.html'
在loaders这么配置:
{
test: /.(jpg|png)$/,
loader: 'url',
query: {
limit: 8192,
name: '[name].[ext]?[hash:7]'
}
},
但是没有任何作用,也不报错是为什么
The text was updated successfully, but these errors were encountered: