In a pot of boiling, salted water, cook the sweet potatoes until tender, 5 minutes. Add the corn and cook for 1 minute; drain.
In a bowl, whisk together the oil, lime juice, shallot, chili powder, salt and pepper. Add the sweet potato, corn and basil; toss to coat.