use npm lib in html webpack code example Example: html-webpack-plugin npm npm i --save-dev html-webpack-plugin