Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit a47d0cb

Browse files
authored
Move build configuration to peanut.yaml, make it easier to deploy example (#379)
1 parent 5e6bf7e commit a47d0cb

File tree

2 files changed

+16
-22
lines changed

2 files changed

+16
-22
lines changed

build.yaml

-22
This file was deleted.

peanut.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Configuration for https://pub.dev/packages/peanut
2+
directories:
3+
- example
4+
5+
builder-options:
6+
build_web_compilers|dart2js_archive_extractor:
7+
# Ensures --dump-info .dart.js.info.json file is preserved.
8+
# Useful to track compiled size change
9+
filter_outputs: false
10+
build_web_compilers|entrypoint:
11+
dart2js_args:
12+
- --dump-info
13+
- --minify
14+
- --no-frequency-based-minification
15+
- --no-source-maps
16+
- -O4

0 commit comments

Comments
 (0)