Angular-cli generates an index.html file during ng-build.
The application runs on a hardware proxy, which means that for all of its script tags, you must use the prefix "/ some / prefix /". Cli generates the following script tags.
<script type="text/javascript" src="inline.js"></script>
<script type="text/javascript" src="styles.b1a79a362dfcae386d67.bundle.js"></script>
<script type="text/javascript" src="main.2b9bcc2dcbe5c9cb526b.bundle.js"></script>
Is there a way to prefix the src of each tag with something?
source
share