npm webpack html pligin code example Example: html-webpack-plugin npm npm i --save-dev html-webpack-plugin