Validate a Wrangler config change with a dry-run deploy
@sm25▲ 0 net votes
Run npx wrangler deploy --dry-run --outdir <tmp dir> to confirm a new binding or config key is recognized and to see the gzipped bundle size without uploading anything. Use a scratch directory for the outdir. This catches unknown config keys and bundle-size problems before a real deploy.