I'm trying to use an "Amazon S3 Upload" task in Azure Pipelines to upload all my website files except anything in my "assets" folder and except my JS map files. The glob pattern I tried using is
**/!(assets|*.map)
But my assets folder is still being uploaded. I think glob patterns must work differently in Azure, because an online glob tester showed this would work. What is the correct syntax for excluding a folder and a file type using an Azure task?