常见问题
Conflict: Multiple assets emit different content to the same filename index.html
new HtmlWebpackPlugin({template: path.resolve(__dirname, 'animate/index.html'), filename: 'index.html', chunks: ['animate']}
检查 HtmlWebpackPlugin 创建的html是不是有同名的,可以打印日志进行查看,注意不同系统间路径的差异 path.join('animate', 'README.md')
。