-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.yaml
44 lines (41 loc) · 1 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
targets:
ng_color_picker:
sources:
exclude: ["lib/builder.dart"]
builders:
sass_builder|sass_builder:
enabled: False
ng_color_picker|scss_builder:
enabled: True
build_web_compilers|entrypoint:
options:
#compiler: dart2js
dart2js_args:
- --fast-startup
- -O4
- --minify
- --trust-primitives
- --dump-info
release_options:
dart2js_args:
- --fast-startup
- -O4
- --minify
- --trust-primitives
#- --dump-info
scss_builder:
sources: ["lib/builder.dart"]
dependencies:
- build
- sass_builder
builders:
scss_builder:
target: "scss_builder"
import: "package:ng_color_picker/builder.dart"
builder_factories: ["scssBuilder"]
build_to: cache
build_extensions:
.scss: [".scss.css"]
.sass: [".scss.css"]
applies_builders:
- sass_builder|sass_source_cleanup