Anyway, the Ewoks didn't defeat the empire. They were actually getting their assess kicked (though Lucas was fond of the idea of a primitive civilization defeating a more advanced civilization.). All the Ewoks did was help the rebels while they disabled the shield generator so that Lando could blow the Death Star. They pretty much sacrificed themselves.