Heat a pan on medium flame, add chopped pineapple.
Add ½ tsp of salt and stir.
Cover and let it cook for 5-10 minutes until soft and juicy.
In another pan, prepare sugar syrup with 1 cup sugar and ½ cup water.
Stir to mix sugar with water.
Uncover the pineapple pan, stir, and let it cook for 2-3 minutes to evaporate water.
Ensure high flame for quick evaporation to avoid thickening sugar syrup.
Transfer cooked pineapple to sugar syrup pan.
Stir well, cook for 10-15 minutes on medium flame.
Add 2 tbsp of raisins and cook for another 8-10 minutes.
Optionally, add ¼ tsp of dry red chili skin for spice.
Stir and cook until the syrup thickens.
Turn off the flame, add 1 tsp fresh lime juice.
Give it a final stir and transfer to a bowl.
Let it cool before enjoying your delicious homemade pineapple chutney.