Repository: flutter
Issue: [web] --web-renderer html includes canvaskit
Labels: c: new feature,tool,platform-web,a: build,has reproducible steps,P3,found in release: 3.10,found in release: 3.11,team-web,triaged-web

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

I'm reopening #96509 as this issue still hasn't been resolved. In contrast to the original issue, the canvaskit folder is always created for me when running

```sh
flutter build web --web-renderer html
```

The result is that the default counter app clocks in at 20 instead of 3MB.

### Expected results

I'd expect the web build folder to look like this, without canvaskit included.

```sh
.
├── assets
│   ├── AssetManifest.bin
│   ├── AssetManifest.json
│   ├── FontManifest.json
│   ├── fonts
│   │   └── MaterialIcons-Regular.otf
│   ├── NOTICES
│   ├── packages
│   │   └── cupertino_icons
│   │       └── assets
│   │           └── CupertinoIcons.ttf
│   └── shaders
│       └── ink_sparkle.frag
├── favicon.png
├── flutter.js
├── flutter_service_worker.js
├── icons
│   ├── Icon-192.png
│   ├── Icon-512.png
│   ├── Icon-maskable-192.png
│   └── Icon-maskable-512.png
├── index.html
├── main.dart.js
├── manifest.json
└── version.json
```

### Actual results

The web build folder includes a 16MB large canvaskit folder which isn't necessary to run the app.


```sh
.
├── assets
│   ├── AssetManifest.bin
│   ├── AssetManifest.json
│   ├── FontManifest.json
│   ├── fonts
│   │   └── MaterialIcons-Regular.otf
│   ├── NOTICES
│   ├── packages
│   │   └── cupertino_icons
│   │       └── assets
│   │           └── CupertinoIcons.ttf
│   └── shaders
│       └── ink_sparkle.frag
├── canvaskit
│   ├── canvaskit.js
│   ├── canvaskit.wasm
│   ├── chromium
│   │   ├── canvaskit.js
│   │   └── canvaskit.wasm
│   ├── skwasm.js
│   ├── skwasm.wasm
│   └── skwasm.worker.js
├── favicon.png
├── flutter.js
├── flutter_service_worker.js
├── icons
│   ├── Icon-192.png
│   ├── Icon-512.png
│   ├── Icon-maskable-192.png
│   └── Icon-maskable-512.png
├── index.html
├── main.dart.js
├── manifest.json
└── version.json
```

### Code sample

<details><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.10.0, on Garuda Linux 6.3.1-zen2-1-zen, locale en_US.UTF-8)
    • Flutter version 3.10.0 on channel stable at /opt/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (4 days ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1

[✗] Android toolchain - develop for Android devices
    ✗ ANDROID_HOME = /opt/android-sdk
      but Android SDK not found at this location.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang version 15.0.7
    • cmake version 3.26.3
    • ninja version 1.11.1
    • pkg-config version 1.8.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Garuda Linux 6.3.1-zen2-1-zen
    • Chrome (web)    • chrome • web-javascript • Chromium 113.0.5672.92 Arch Linux

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.
```

</details>