-
Notifications
You must be signed in to change notification settings - Fork 340
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
how to add hash code in production env #311
Comments
when use html-webpack-plugin in roadhog, error: Cannot read property '0' of undefined |
我这边可以正确添加HtmlWebpackPlugin,但是,添加进去之后,没法正常读到 index.html。我试了很久,大概是 roadhog 用的是file loader处理html。我在我以前的项目中,用的是 html-loader 处理index.html ,这样是正常的。 |
使用 HtmlWebpackPlugin 应该和 html-loader 无关吧, 我没用过这个 ,html-loader 不是用来处理 import 到 js 里面的 html 文件的吗? |
|
i have tried the method before .but failed. have you successfully use the solution ? |
What the roadhog version do you use? @trexguo |
@MrChongdong 似乎解决了。参考231 |
since we need clean cache via hash file name ,how to add hash code in .roadhogrd or webpack.config.js
The text was updated successfully, but these errors were encountered: