Skip to content

Consistently use jaspr_cli managed build options - #13854

Merged
parlough merged 2 commits into
mainfrom
feat/use-jaspr-managed-options
Sep 3, 2026
Merged

Consistently use jaspr_cli managed build options#13854
parlough merged 2 commits into
mainfrom
feat/use-jaspr-managed-options

Conversation

@parlough

@parlough parlough commented Sep 2, 2026

Copy link
Copy Markdown
Member

The --no-managed-build-options we were passing to the jaspr build command was meaning --dart-define wasn't respected so productionBuild was false for client-compiled code. We don't use the build.yaml files for much special configuration anyway, so we can instead use Jaspr's managed build options, passing what little we do need to configure. With that change, productionBuild is correctly set to true on release client build. This fixes code such as analytics sending that was incorrectly being stripped.

Supersedes and closes #13851

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@flutter-website-bot

flutter-website-bot commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated docs.flutter.dev site (updated for commit e545f56):

https://flutter-docs-prod--docs-pr13854-feat-use-jaspr-managed-ooyzw29c.web.app

@flutter-website-bot

flutter-website-bot commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated flutter.dev site (updated for commit e545f56):

https://flutter-dev-230821--www-pr13854-feat-use-jaspr-managed-lkygyagg.web.app

@abdallahshaban557 abdallahshaban557 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jesskuras jesskuras left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for looking into this!!

@parlough
parlough merged commit 153e0f6 into main Sep 3, 2026
18 checks passed
@parlough
parlough deleted the feat/use-jaspr-managed-options branch September 3, 2026 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants