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


#1

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?


#2

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


#3

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