问题
I want to run a no minify build but not from Terminal. Can I do it form the Dart Editor IDE itself?
回答1:
Dart2JS can be configured using pubspec.yaml Configuring the Built-in dart2js Transformer.
You also need a custom launch configuration until DartEditor's internal web server is replaced by pub serve
which is work in progress.
回答2:
Under Run -> Manage Launches you can create a new Dart2js launch and pass in whatever compiler flags you want.
来源:https://stackoverflow.com/questions/22054960/can-you-pass-compiler-flags-to-dart2js-via-dart-editor