Just diving into Angular development and eager to create a standalone .ts
file without having to generate an entire component. Can anyone guide me on how to achieve this using ng generate
?
Scenario:
During the application build process, I need to write the build version to a .ts
file. This file will be loaded upon deployment of the build and will display the build version to the end user.