build(ui): optimize build runner

This commit is contained in:
Hugo Pointcheval 2023-02-17 14:48:23 +01:00
parent ef52015372
commit efeb3acff3
Signed by: hugo
GPG Key ID: 3AAC487E131E00BC
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,9 @@
targets:
$default:
builders:
# Typically the builder key is just the package name, run `pub run build_runner doctor` to check your config.
wyatt_component_copy_with_gen:component_copy_with_gen:
generate_for:
# Example glob for only the Dart files under `lib/models`
- lib/**/*.dart
- example/lib/**/*.dart

View File

@ -0,0 +1,8 @@
targets:
$default:
builders:
# Typically the builder key is just the package name, run `pub run build_runner doctor` to check your config.
wyatt_component_copy_with_gen:component_copy_with_gen:
generate_for:
# Example glob for only the Dart files under `lib/models`
- lib/**/*.dart