In a food processor, add basil leaves, garlic, shallots, parmesan, pine nuts, kosher salt, black pepper, and red pepper flakes. Squeeze in the lemon juice. Pulse a few times to combine.
2 cups basil leaves, 40 grams parmesan cheese, freshly grated , 34 grams pine nuts, 2 cloves garlic, rough chopped , 1 medium shallot, rough chopped , 1 teaspoon kosher salt*, ¼ teaspoon red pepper flakes , ¼ teaspoon black pepper , 2-4 tablespoons lemon juice*