I looked and found a library that gives the same functionality to upload spiffs files to Arduino IDE 2.2.1 that the IDE 1.5 had.