Could I set webpack publicPath dynamically? __webpack_public_path__ does not work
<p>I want to setup publicPath dynamically in JS. Our product instances are distributed after webpack build is done. I want to use Font awesome icons so I have tried to configure <strong>webpack_public_path</strong> in my entry JS file, but it does not work. After some investigating I see that <strong>webpack_public_path</strong> is setup, but after my font files paths are set... So my question is, should I have configured webpack module hot loader? Or where should I put my code to set proper publicPath on fly?</p>