The motor itself is a three phase load, and doesn't know from wye or delta on the supply. It is _probably_ a dual voltage motor which could be re-connected in the terminal box to operate from a 240V supply. Of of the control/overload/protection hardware would need to be suitably re-configured or upgraded for the increased current and reduced voltage.
Assuming the compressor is 3Ø 3W, you don't utilize a neutral so there's really no 277V involved.
Assuming the compressor is 480V 3Ø 3W, and assuming it's not a dual voltage motor (480V 3Ø & 240V 3Ø), then with a 240V delta system I think you're pretty much looking at installing a transformer to match the supply voltage to the compressor.
There are 10 types of people. Those who know binary, and those who don't.
We have already installed frequency converters only to adjust local low voltage to motor nominal voltage. This is more a side effect but with small motors easier than a transformer, particularly interesting to run small 3p400V motors on 1p230V.