How to change the index of a file outside the root directory

When I run ng-build

it exports the index.html file and js .. onside folder dist. I want to move index.html file to external dist folder and edit link

<script type="text/javascript" src="dist/inline.bundle.js"></script>

      

but it can't find the .woff image files ... I am trying to change base href = "dist /" but when the application starts up, the domain is localhost / dist / index.html. I do not want it. So how can I change index.html outside of root when ng-build

everything can still be found?

+3


source to share





All Articles