When my Angular 5 app is deployed to Cloud Foundry, the process there generates a app-number-version file in the dist folder that simply contains the version number (like "1.0.0" for example).
My task is to display this version number in the HTML of our app's navigation bar. My question is, how can I do something like this locally on my development environment (generate a file in my dist upon each build) and then how to display the text from this file in my HTML component? I don't really care what my local dev environment has in the version file as it will get overwritten when built on Cloud Foundry, and I'm only using it locally to be able to read and display a value as I develop to make sure it's working.