the use of __webpack_public_path__ is for cases where you don’t know what is going to be publicPath…
Aviv Rosental
1
Thanks Aviv, I managed to get it working in the end, it wasn’t initially clear that I had two entry files so needed the line in both, works a charm now!