Press the tofu for 15-20 minutes to squeeze out any extra moisture.
Cut into bite-sized cubes and toss in cornstarch until evenly coated.
Warm up sesame oil in a pan over medium-high heat.
Add tofu cubes and fry until golden brown and crispy on all sides.
Alternatively, bake the tofu at 400°F (200°C) for 20-25 minutes, flipping halfway through.
In a small saucepan, whisk together pineapple juice, soy sauce, maple syrup, garlic, ginger, and rice vinegar.
Bring to a gentle simmer over medium heat, letting it reduce slightly.
Stir in red pepper flakes (if using) and continue to simmer until thickened.
Add the crispy tofu to the pan with the glaze.
Stir well to coat each piece evenly, letting it absorb the sauce for 2-3 minutes.
Serve hot over steamed jasmine or brown rice.
Garnish with sesame seeds, green onions, and bell peppers for extra crunch and color.