Skip to content

Is there any way to disable minify on flutter-web release build or pass arguments to dart2js #62259

@atiqsamtia

Description

@atiqsamtia

How can I disable minification for a Web release build? It is messing up my JSON conversion because of class names mismatch.

There is an option for dart2js compiler which can specify the level of minifying but I can't find any documentation on how to pass that option from flutter build.

Here you can see the option. https://dart.dev/tools/dart2js#basic-options

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions