Skip to content

Let me pass in any/all flags to dart2js during flutter run/flutter build #115854

@kevmoo

Description

@kevmoo

Use case

  • Specific control over the optimization level (-OX) for dart2js
  • Ability to enable dump-info
  • Ability to do a release build with --no-minify

Proposal

Give me a catch-all arg to the flutter tool such as --extra-dart2js-args or similar

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-webWeb applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions