How to Make It
Place finely chopped pineapple, granulated sugar, cornstarch, pineapple juice, and grated fresh ginger in a small saucepan; heat over medium-high, stirring often with a wooden spoon, until sugar is dissolved, about 2 minutes.
Bring mixture to a boil over medium-high, stirring constantly. Boil, stirring constantly, until mixture thickens, about 2 minutes. Cool to room temperature, about 1 hour. Stir in 2 Tbsp. torn fresh Thai basil just before serving.