Best way to minify html literals inside javascript
I have a small node app using webpack and babel to render the production JS. In the source JS I have some HTML literals like this e. g.: breadcrumbsElement.innerHTML = ` <ul class="breadcrumb mr-breadcrumb"> <li class="breadcrumb-item"> <a href="/">HostShop</a> </li> ${breadcrumbLabel…