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
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