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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🏗 Added support for ESM and SxG environment in coverage-map
#29800
Conversation
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.
I've added a few minor comments, but this overall looks good. I've added @rcebulko for review / approval since this has to do with coverage.
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.
Looking good!
@ampproject/build-cop Just one more thing before I merge, because local/dist tests will inconsistently fail. |
It's a flakey test. I opened #30124 to deal with it. |
…ject#29800) * incorporate testing for esm and sxg * suggestions * more suggestions, mostly cyan * added map option for explore * correct for esm only * small change * replace * several changes Co-authored-by: Derek Tse <derektse@google.com>
This PR incorporates a transformer that injects AMP's CSS styles into an HTML, if running under the SxG or ESM environment.
It is assumed that the input HTML will reside in
examples
, and then the transformed HTML will reside indist/transformed
.