convert to use external html-webpack-template