Dart const variables not bootstrapping correctly
It looks like pub build
does not support the -D
command line arguments that are used by dart2js
to handle environment variables. (You can file an issue).
$ pub build -DserverName=example.com
Could not find an option with short name "-D"