airbnb / Showkase

🔦 Showkase is an annotation-processor based Android library that helps you organize, discover, search and visualize Jetpack Compose UI elements
https://medium.com/airbnb-engineering/introducing-showkase-a-library-to-organize-discover-and-visualize-your-jetpack-compose-elements-d5c34ef01095
Apache License 2.0
2.08k stars 106 forks source link

Reverts #341 and instead adds that information in the README #354

Closed vinaygaba closed 10 months ago

vinaygaba commented 10 months ago

As I was publishing the latest release and going through each change that made it's way into the release, I looked at this PR again - https://github.com/airbnb/Showkase/pull/341.

While this is useful for teams that are using Showkase with a release build, it's far more common to use Showkase as a "debug only" component browser. I think this change will actually cause all the previews to be retained since we are explicitly retaining the file that holds a reference to them. As a result, I'm reverting that PR and instead adding this information in the README in cases where you need to use Showkase in builds that have minification enabled.