Netlify and Vercel both would refuse to deploy if there is a tiny warning, with the error message:
Treating warnings as errors because process.env.CI = true.
and so the solution is:
How to prevent Netlify from treating warnings as errors because process.env.CI = true?
override the build command with:
CI=false npm run build
or
CI= npm run build
what do they mean? Aren't they just setting the environment variable CI
and not really a "command"?