I want to delete all the LWC components and Apexclasses using destructiveChanges.xml. I tried with
<types> <members>*</members> <name>LightningComponentBundle</name> </types>
destructiveChanges.xml -- Warning: No LightningComponentBundle named: * found
By googling I found out that wildcards are not supported in destructiveChanges.xml.
Is there any other way to delete the files in one shot through ANT?.
Sandbox refresh can help me on this issue but the thing is I have to delete the classes/LWC everyday through ANT.