Entrypoint undefined = index.html using HtmlWebpackPlugin
Try this; you might be making wrong template path : new HtmlWebpackPlugin({ template: resolve(__dirname, ‘src/public’, ‘index.html’), filename: ‘./index.html’ }), If public is in src folder this should work It’s my assumption. Let me know if the issue still persists.