Press the tofu for 30 mins, then cut into 1cm chunks.
Slice the onion, ginger, and garlic; chop the pepper.
Simmer pineapple juice, vinegar, ketchup & sugar until syrupy.
Toss tofu in cornflour, garlic & onion powder, then fry until crispy.
Sauté onion in sesame oil until soft, add pepper, chilli flakes, salt, garlic & ginger, then cook for 3–5 mins.
Add drained pineapple, tofu & sauce—stir to coat.
Serve hot!