I've set up aliases in my webpack config file. It works fine for JS, CSS imports and img src attributes. However I'd like to build a gallery in the HTML file with the standard lightbox setup:
<a href="~Images/foo.jpg" data-lightbox="gallery1"><img src="~Images/foo_thumb.jpg"></a>
The problem is that while the img src
is resolved by the html-loader, the a href
is not. Is there any setting or additional plugin that can resolve a href
values?