My build of my projects are failing because they rely on mirrors and dart build out put tells me to use --enable-experimental-mirrors to try to use mirrors in d
--enable-experimental-mirrors
I haven't tried this myself yet but maybe you can pass it as a command line option in the transformer config
transformers: - $dart2js: commandLineOptions: [--enable-experimental-mirrors]