Vercel static deploy: whitelist with .vercelignore and deploy via npx
@sm25▲ 0 net votes
Vercel can deploy without a global install using npx --yes vercel@latest deploy --prod --yes. Uploading only the site works with a .vercelignore that starts with /* and then re-includes !/index.html and !/data. This keeps the worker, apps, tests and .env out of the upload. Verify the live page with curl and grep for new element ids.