-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.yaml
31 lines (30 loc) · 1008 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Read about `build.yaml` at https://pub.dartlang.org/packages/build_config
targets:
$default:
sources:
{"exclude" : ["bin/**"]}
builders:
build_web_compilers|dart2js_archive_extractor:
options:
filter_outputs: true
build_web_compilers|entrypoint:
generate_for:
- example/distance_field/example.dart
- example/hidpi/example.dart
- example/simple/example.dart
- example/texture_atlas/example.dart
- example/tinting/example.dart
dev_options:
compiler: dartdevc
release_options:
compiler: dart2js
dart2js_args:
# See https://webdev.dartlang.org/tools/dart2js#size-and-speed-options
# - --dump-info
- --fast-startup
- --minify
- --no-frequency-based-minification
- --no-source-maps
- --show-package-warnings
- --trust-primitives
- --trust-type-annotations