RafalWilinski / serverless-puppeteer-layers

Serverless Framework + AWS Lambda Layers + Puppeteer = ❤️
https://dynobase.com
274 stars 36 forks source link

Use puppeteer-core package #12

Open vladislavbailovic opened 5 years ago

vladislavbailovic commented 5 years ago

Uses the puppeteer-core package over puppeteer to make the installation easier and less error prone.

With this change, there is no more need to use the shell variable flags on install and the install itself will run faster (no more downloading the bundled Chromium).

The difference between the packages can be found in the Puppeteer project docs here: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteer-vs-puppeteer-core