Remove seeds from chili and finely dice. Add all ingredients to a jar with a tight fitting lid. Shake mix until sugar has dissolved. Dipping sauce makes a good accompaniment to spring rolls.