问题:Multiple assets emit different content to the same filename index.html
大概原因:webpack打包时index.html文件冲突了
解决方案:
1.把项目根目录下的public文件中的index.html文件改成index.ejs
2.在node_modules目录中找到webpack/bin/webpack.js文件,加入:
html:{ template:'../public/index.ejs' },然后运行即可