Add the garlic, star anise, cinnamon, fennel, peppercorns and oil to a saucepan and place on the stove over medium heat. Allow to simmer for about 5 minutes or until the garlic just turns golden. Be very careful not to take the garlic too far as it can go bitter very quickly.
In a heatproof bowl, add the chilli flakes, sesame seeds and salt.
As soon as the garlic is golden, pour the oil and spice mixture over the chilli flakes and mix to combine.
Once the dough has doubled in size, add a few tablespoons of chilli oil to the base of a baking dish and tip in the dough. Spread the dough out as best as you can then set aside for another hour or 2 until it is puffed and filling the space of the tray.
Preheat the oven to 200C.
Cover the top of the dough with a few more tablespoons of chilli oil then dimple the dough by pressing in with your finger tips.
Bake in the oven for 20-30 mins or until the top is golden and crisp.
Allow the cool for a few minutes before slicing.