Skip to content

Instantly share code, notes, and snippets.

@VB10
Created December 24, 2024 22:23
Show Gist options
  • Save VB10/e09380c6daf4d21b589ca0670e895ed0 to your computer and use it in GitHub Desktop.
Save VB10/e09380c6daf4d21b589ca0670e895ed0 to your computer and use it in GitHub Desktop.
Build yaml for only work view file
targets:
$default:
builders:
auto_route_generator:auto_route_generator: # this for @RoutePage
generate_for:
- lib/**/**_view.dart
auto_route_generator:auto_router_generator: # this for @AutoRouterConfig
generate_for:
- lib/product/navigation/app_router.dart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment