Skip to content

Instantly share code, notes, and snippets.

@ailabs-software
Created June 3, 2021 00:30
Show Gist options
  • Save ailabs-software/8667a8641619dae2e78caa11a31ec5fd to your computer and use it in GitHub Desktop.
Save ailabs-software/8667a8641619dae2e78caa11a31ec5fd to your computer and use it in GitHub Desktop.
Example build.yaml. You might also set -O4 instead
targets:
$default:
sources:
- lib/**
- web/**
# Note that it is important to include these in the default target.
- pubspec.*
- $package$
builders:
# -----------------------
build_web_compilers|entrypoint:
release_options:
dart2js_args:
- --fast-startup
- -O3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment