0 purchases
slang build runner
slang_build_runner #
build_runner support for slang.
Useful if you want to combine multiple code generators.
This library ensures that slang is recognized by build_runner.
# pubspec.yaml
dependencies:
slang: <version>
dev_dependencies:
build_runner: <version>
slang_build_runner: <version>
copied to clipboard
Make sure to use build.yaml instead of slang.yaml.
# build.yaml
targets:
$default:
builders:
slang_build_runner:
options:
base_locale: en
copied to clipboard
The generate command:
dart run build_runner build --delete-conflicting-outputs
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.