jamonholmgren / react-native-colo-loco

Colocate your native modules and components with your JavaScript/JSX files.
292 stars 12 forks source link

Feature: allow for specifying targets per-file #20

Closed jamonholmgren closed 1 year ago

jamonholmgren commented 1 year ago

react-native-colo-loco allows you to exclude iOS targets across the board, but it would be really nice to specify which targets a native file applies to on a file-by-file basis.

My current idea is to add a comment to the file, something like this:

// colo_loco_targets: PizzaApp, PizzaAppTest, PizzaAppWidget

Could even have an exclude there as well, if preferred:

// colo_loco_exclude_targets: PizzaAppTest

If anyone has an opinion here, by all means let me know!

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: