-
Notifications
You must be signed in to change notification settings - Fork 0
frostyandy2k/browser-screenshots
Folders and files
Name | Name | 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