25 lines
832 B
YAML
25 lines
832 B
YAML
targets:
|
|
$default:
|
|
builders:
|
|
deferred_widget:
|
|
enabled: true
|
|
generate_for:
|
|
exclude:
|
|
- test
|
|
- example
|
|
include:
|
|
- test/gen_*
|
|
|
|
builders:
|
|
deferred_widget:
|
|
# library URI containing the builder - maps to `lib/member_count_library_generator.dart`
|
|
import: "package:wyatt_deferred_widget_gen/wyatt_deferred_widget_gen.dart"
|
|
# Name of the function in the above library to call.
|
|
builder_factories: ["deferredWidgetBuilder"]
|
|
# The mapping from the source extension to the generated file extension
|
|
build_extensions: {".dart": [".deferred.dart"]}
|
|
# Will automatically run on any package that depends on it
|
|
auto_apply: dependents
|
|
# Generate the output directly into the package, not to a hidden cache dir
|
|
build_to: source
|