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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃彈 Apply AMP_CONFIG
to runtime files during gulp dist
#26554
Conversation
/to @jridgewell, @rcebulko, @danielrozenberg (review) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do devs need to be alerted about this/will this alter workflow for people?
Good question. The default local development workflow uses I've added a new commit that updates our documentation. I will mention this in our fortnightly updates. And our partner is aware that this change is forthcoming. |
Bump. This still needs an approving review. |
This PR updates
gulp dist
to generate production-ready AMP binaries by default.Highlights:
gulp dist
doesn't addAMP_CONFIG
to runtime files.gulp dist
will addAMP_CONFIG
withprod
flags.localDev
andtest
inAMP_CONFIG
will be false.gulp dist
can be triggered by runninggulp dist --noconfig
.gulp dist --fortesting
remains unchanged (AMP_CONFIG
is added,localDev
andtest
are true).gulp build [--fortesting]
remains unchanged (AMP_CONFIG
is added,localDev
is true,test
is based onargv.fortesting
).Fixes #24817