Problem record: Conflict: Multiple assets emit different content to the same filename index.html

The reason for the error is that the file name is duplicated.

Solution:

Step 1: Rename public/index.html => index.ejs

Step 2: Add in nodemodules/webpack/bin/webpack.js

    html: { template: './src/index.ejs' }

Step 3: Restart the project

Guess you like

Origin blog.csdn.net/m0_67987829/article/details/127182850