Suppress warnings being treated as errors for some commands



I have a create react app build step, in which webpack is generating a warning that I can’t turn off due to the way CRA doesn’t expose the webpack config. is there a way to turn off treating warnings as errors for certain commands?