specify html template htmlWebpackPlugin code example Example: html webpack plugin npm install html-webpack-plugin --save-dev