Skip to content

dart compile should have an option to use ddc (Dart Development Compiler) #56877

@a-siva

Description

@a-siva

The 'compile' command in dart cli uses the production compiler dart2js to compile Dart files to JS when the 'js' option is used.
TO be consistent we need another option to allow users to specify that ddc the dart Development Compiler should be used to generate the JS file.

// cc @bkonyi

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions