In a large bowl, whisk together the flour, baking soda, and salt. In another bowl, using a wooden spoon (I used a whisk), combine the coconut oil, brown sugar, and granulated sugar together until creamy. Stir in the vanilla and egg. Add the flour mixture to the coconut oil mixture and stir to combine. Fold in the chocolate, pistachios, and coconut.