Preheat oven to 175°C (350°F) and line a baking sheet with parchment paper.
In a medium bowl, whisk together flour, baking soda, and salt. Set aside.
In a separate bowl, cream butter, brown sugar, and granulated sugar until light and fluffy.
Add the egg and vanilla extract, mixing until well combined.
Gradually add dry ingredients to the wet mixture, stirring until just combined.
Gently fold in the white chocolate chips and raspberries. If using fresh raspberries, be careful not to crush them too much.
Scoop tablespoon-sized balls of dough onto the baking sheet, spacing them apart.
Bake for 10-12 minutes, until edges are slightly golden.
Let cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.