In current state of project I want to build both for ddc and dart2js with debug info. Is this possible with same pubspec.yaml
?
Using the recommended setting for ddc, the debug mode is associated with ddc.
web:
compiler:
debug: dartdevc
While the dart2js
build is obtained with --mode=release
in commandline.
Only way I find now is by un/comment out the ddc
section from the pubspec.yaml
.