-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathbuild.yaml
More file actions
23 lines (22 loc) · 786 Bytes
/
build.yaml
File metadata and controls
23 lines (22 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
targets:
$default:
builders:
test_html_builder:
options:
templates:
"test/templates/html_template.html":
- "test/**_test.dart"
build_web_compilers|entrypoint:
# These are globs for the entrypoints you want to compile.
generate_for:
- test/**.browser_test.dart
- example/**.dart
options:
# List any dart2js specific args here, or omit it.
dart2js_args:
# Omit type checks TODO change to -O4 at some point (e.g., --trust-primitives)
- -O3
# Generate CSP-compliant code since it will be used most often in prod
- --csp
# Disable minification for easier test/example debugging
- --no-minify