Skip to content

After upgrading to 3.22 Flutter Web ignores the -no-web-resources-cdn config #148713

@cfsbhawkins

Description

@cfsbhawkins

Steps to reproduce

Compile an Web App in 3.19 will use local webserver for canvaskit files, when compiling in 3.22 it now replaces it with pulling the file from google CDN which breaks my ability to work in a completely offline mode.

flutter build web --no-web-resources-cdn --web-renderer canvaskit --release

Expected results

CanvasKit and all files should pull from /canvaskit dir.

Actual results

Canvaskit pulls from Google CDN

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration Computer at .163 has been downgraded to 3.19.6, computer at .170 is on 3.22, no other changes.

Screenshot 2024-05-20 at 4 17 07 PM
Screenshot 2024-05-20 at 4 17 29 PM

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listc: regressionIt was better in the past than it is nowe: wasmIssues related to the wasm build of Flutter Web.found in release: 3.22Found to occur in 3.22has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-webOwned by Web platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-webTriaged by Web platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions