JS file is gerenrated in debug mode, but not in release mode


When I run tns run android or tns debug android it generates .js file for each typescript file. But when I run the app in release mode, it does not. Why this happen?


I too have faced that issue several times, so I at least run / debug once before I do release command.


But even no need to run / debug before release build. In my first run (which is release build) it works fine. That’s weird.