webpack build to one html file code example Example: html webpack plugin npm install html-webpack-plugin --save-dev