How to compile a release version

Probably a stupid question…

But how to compile a release version that is not connecting the host? Is there a compiler property that switches between the debug version with live preview and a release version that is working stand alone?

I compile standalone applications like this: uno build --target=iOS or uno build --target=Android

There is also --release and --run switches that I use often.