If possible, try and use fresh pineapple for the recipe. This recipe also works well with frozen vegetables. There is no need to defrost the vegetables before cooking with them.
Heat 1/2 tablespoon of oil in a wok or large sauté pan over medium-high heat. When the pan is hot, add the whisked eggs and scramble it with a spatula. Continue scrambling until eggs are cooked, about 30 seconds to 1 minute. Transfer eggs to a plate and set aside. If the wok or pan is dirty, wipe it down with paper towels.
Heat remaining 2 1/2 tablespoons of oil over medium-high heat. Add the onions and a pinch of salt and cook until the onions start to soften, about 2 minutes. Mix in the red pepper, carrots and peas and cook for another 2 minutes. Add the turmeric and coriander and stir until the vegetables are coated with the spices. Add the rice and mix well with the vegetables. Continue cooking and stirring the rice for about 1 to 2 minutes.
In a small bowl, quickly mix the soy sauce (or tamari) with the brown sugar and pour that sauce over the rice. Add the white pepper, if using, and stir until well incorporated.
Add the eggs, pineapple and sliced scallions to the rice and stir to distribute. Turn off the heat and mix in the chopped basil. Serve immediately.
Notes
I added brown sugar to the recipe to balance out the turmeric and soy sauce with the pineapple. If you would rather not add any additional sugar to the fried rice, feel free to leave it out.
Substitutions: If you have curry powder on hand, you can use that to replace the turmeric.