Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshots Maker

vercel/pkg#204

# Compile the app like normal
pkg -t host --out-path dist index.js

# Copy chromium to the dist folder
mkdir -p dist/puppeteer/ui/dist/node_modules/puppeteer/
cp -R node_modules/puppeteer/.local-chromium dist/puppeteer/ui/dist/node_modules/puppeteer/.local-chromium

# Optionally rename index to index.js
mv dist/index dist/index.js

# Copy puppetter module if you get an error due to the dynamic require and remove chromium
mkdir -p dist/node_modules/puppeteer
cp -R node_modules/puppeteer/ dist/node_modules/puppeteer/
rm -rf dist/node_modules/puppeteer/.local-chromium

# Create output directory
mkdir dist/screenshots

About

Take screenshots of Web Pages

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages