There is a site written using Angular in TypeScript. This site is a test task. The result should be presented in the form of JS code, not TS. Because using TS, I created a specific structure, then the question arose: how to translate TS into JS?

I know about ng-build in angular-cli, but it minimizes the code, making it incomprehensible for parsing. It's important for me to keep the structure.

I also heard somewhere about the "customize assembly", but did not understand what it is.

Help advice!

  • one
    You can run the ts compiler separately. He will give you ts on js. Here is a small tutorial adminhacks.com/typescript-compile.html . The truth is not sure that the application will work after that, since angular-cli does a lot more stuff) - Stepan Kasyanenko

0