Skip to content
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

fix(chrome-extension): reorder code to maintain comments so that code strip will work #1407

Merged
merged 3 commits into from
Oct 12, 2024

Conversation

subzero10
Copy link
Member

Status

READY

Description

Fixes: #1383.
Typescript would remove the comment ROLLUP_STRIP_CODE_CHROME_EXTENSION_END when transpiling from .ts to .js because it was sitting alone and not connected to any function. I reordered the code and it seems to work now.

@subzero10 subzero10 requested review from stympy and joshuap October 12, 2024 07:24
@subzero10 subzero10 self-assigned this Oct 12, 2024
@subzero10
Copy link
Member Author

Integration tests are failing while installing Playwright browsers. I suspect this is a transient failure and it should be OK a bit later.

stympy
stympy previously approved these changes Oct 12, 2024
@subzero10
Copy link
Member Author

After more investigation, it seems that we have to update Playwright because the version we were using is not available anymore. I will merge this PR and work on integration tests separately.

@subzero10 subzero10 merged commit 3ba3168 into master Oct 12, 2024
8 of 9 checks passed
@subzero10 subzero10 deleted the fix-code-strip branch October 12, 2024 13:09
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.

Includes remotely-hosted code, so cannot be used within a Chrome extension
2 participants