Cannot read property 'entry' of undefined
<script type="text/javascript">
<%=
compilation.assets[htmlWebpackPlugin.files.chunks.main.entry.substr(htmlWebpackPlugin.files.publicPath.length)].source()
%>
</script>
在head中插入这段代码也不会生成b.html和c.html怎么办