Skip to content
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

给webpackConfig的output的chunkFilename增加querystring导致资源没匹配上 #32

Open
LukeLin opened this issue May 30, 2019 · 0 comments

Comments

@LukeLin
Copy link
Contributor

LukeLin commented May 30, 2019

发现html-res-webpack-plugin的一个问题,如果我给webpack的output的chunkFilename增加querystring参数
image
path.extname返回的是.js?_tid=1
image
然后stats.assets对象的内容是
image
但md5HtmlRes方法里面做了removeQueryHash处理,导致newRoute匹配不上assets对象里的内容
image
最终导致vendor.js没有在html里面被引入进来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant