Warm the oil in a deep saucepan set over a moderate heat, add the shallot, garlic, ginger and sliced chilli, and cook for about 20 minutes, stirring regularly, until the shallots are soft and sticky. You should be able to crush them between finger and thumb.