-
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插件一起使用就会出现html parse失败 #22
Comments
me too have this problem, error message:
|
请问怎么解决 |
同样的问题,有人说在url-loader或者file-loader中加入esModule:false但是这个打包出的路劲是undefined |
如果是图片问题建议在url-loader里加入esModule:false,这样他的路径就不是对象之类了 |
自定义了一个loader,return的时候加上defaut |
new webpackHtmlPlugin(
{
hash: true,
minify: {
collapseWhitespace: true,
removeComments: true
},
template: './index.html',
filename: 'index.html'
}
)
这样一起使用就会有问题
The text was updated successfully, but these errors were encountered: