https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
s

sl

10/24/2023, 11:11 AM
Is there a way to automatically remove @Preview from production code?
a

Alexander Maryanovsky

10/24/2023, 11:58 AM
It's marked as
Copy code
@Retention(AnnotationRetention.SOURCE)
So it's already not in the binary
s

sl

10/25/2023, 5:04 AM
Thanks
@Alexander Maryanovsky the annotation is removed but the rest still gets compiled?
👍🏻 1
a

Alexander Maryanovsky

10/26/2023, 6:41 AM
Yes
2 Views