<%= htmlWebpackPlugin.files.chunks.main.entry %>写法问题
按照老师的写法编译出来会有问题吧
<script type="text/javascript">
<%= htmlWebpackPlugin.files.chunks.main.entry.substr(htmlWebpackPlugin.files.publicPath.length) %>
</script>
改成这种写法才能达到老师演示的效果?
<script src="<%= htmlWebpackPlugin.files.chunks.main.entry %>"></script>