Dart pub build mode not working

Viewed 365

I'm trying to get Dart's pub build to run without minifying the generated JavaScript. According to this page I should be able to run it like so:

pub build --mode=debug

...which will force pub build to use the no-minify option.

However, when I run that, I get:

Could not find an option named "mode".
Run "pub help" to see available options.

Running Pub 1.0.0+10.r30798 - any ideas?

2 Answers
Related