Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disentangle and align flutter build web --wasm flags #143517

Merged
merged 3 commits into from
Feb 15, 2024

Commits on Feb 15, 2024

  1. Disentangle and align flutter build web --wasm flags

    * Make `flutter build web` have one option that determins the
      optimization level: `-O<level>` / `--optimization-level=<level>`
      => Defaulting to -O4
      => Will apply to both dart2js and dart2wasm
    
    * Deprecate `--dart2js-optimization=O<level>`
    
    * Disentagle concept of optimization from concept of static symbols
      => Add a `--strip-wasm` / `--no-strip-wasm` flag that determins
         whether static symbols are kept in the resulting wasm file.
    
    * Remove copy&past'ed code in the tests for wasm build tests
    mkustermann committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    68d89a5 View commit details
    Browse the repository at this point in the history
  2. misc

    mkustermann committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c088d8b View commit details
    Browse the repository at this point in the history
  3. fix

    mkustermann committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    7a9d9e9 View commit details
    Browse the repository at this point in the history