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

Use "puppeteer-core" instead of full "puppeteer" NPM package #1486

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

lslezak
Copy link
Contributor

@lslezak lslezak commented Jul 19, 2024

Problem

  • The full "puppeteer" NPM package also takes care of downloading and managing the web browsers.
  • But as we use the system browser we do not need this functionality.

Solution

Testing

  • Tested manually

The full "puppeteer" NPM package also takes care of downloading
and managing the web browsers. But as we use the system browser
we do not need this functionality.

Installing just the "puppeteer-core" package makes the NPM bundle
a little bit smaller.

See more details in https://pptr.dev/guides/installation
Copy link
Contributor

@mvidner mvidner left a comment

Choose a reason for hiding this comment

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

417 lines saved in package-lock.json, yay!

@lslezak lslezak merged commit 2976ebf into master Jul 19, 2024
@lslezak lslezak deleted the puppeteer-core branch July 19, 2024 16:44
@imobachgs imobachgs mentioned this pull request Sep 20, 2024
imobachgs added a commit that referenced this pull request Sep 20, 2024
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.

2 participants