targets:
  $default:
    builders:
      build_web_compilers|entrypoint:
        generate_for:
           - web/main.dart
        options:
          compiler: dart2js
          dart2js_args:
            - --fast-startup
            - --trust-type-annotations
            - --trust-primitives
        release_options:
          dart2js_args: # inherits `compiler` from default options, and overrides the args
            - --fast-startup
            - --minify
            - --trust-type-annotations
            - --trust-primitives

targets:
  $default:
    builders:
      build_web_compilers|entrypoint:
        generate_for:
           - web/main.dart
        release_options:
          dart2js_args:
            - --fast-startup
            - --minify
            - --trust-type-annotations
            - --trust-primitives

Use DDC by default for examples/hello_world.
chore(Example): Use DDC by default for examples/hello_world.

Closes #1301

PiperOrigin-RevId: 197006791
