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

Adopt new headless mode by default #593

Merged
merged 2 commits into from
Sep 20, 2024
Merged

Adopt new headless mode by default #593

merged 2 commits into from
Sep 20, 2024

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Sep 20, 2024

Marp CLI is using the classic headless known as shell mode in current Puppeteer.
https://developer.chrome.com/blog/chrome-headless-shell

The headless shell will become to remove from the browser binary in the last of 2024, so we have to update the headless mode into the current. Marp CLI had been able to choose the new headless mode via PUPPETEER_HEADLESS_MODE=new env (#508), and now it will be used to revert into the classic headless shell via PUPPETEER_HEADLESS_MODE=old,legacy, or shell.

@yhatt yhatt merged commit 1a03f64 into main Sep 20, 2024
1 check passed
@yhatt yhatt deleted the new-headless-mode branch September 20, 2024 17:20
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.

1 participant