I have an angular 2 app and I am using WebPack for bundling. WebPack generates chunk files which are dynamically added to the webpage when it is loaded:
<script type="text/javascript" charset="utf-8" async="" src="0.b422af7997bfeca78d4.chunk.js"></script>
I want these chunk files to be located on a CDN server. How can I add the CDN path in the src path of the script tag?