
In a large bowl, whisk together the flour, salt, baking soda, cinnamon, and ground ginger. Set aside.
IIn a separate large bowl, add the shaved piloncillo (or dark brown sugar), molasses, 1 egg, evaporated milk, vanilla extract. Using a spatula or your hands, mix until all ingredients are incorporated.
Make the dough: Gradually add the dry ingredients to the wet mixture. Mix with a spatula or your hands until a dough starts to form. If the dough is be a bit sticky—add a little extra flour (a tablespoon at a time) until it's soft but manageable.
Note: the dough will be a little sticky due to the molasses but it should not leave any residue on your hands when handling it.
Shape the dough into a flat square disk, wrap in plastic wrap, and refrigerate the dough for at least 2 hours.
Preheat your oven to 350ºF (175ºC) and line 2 baking sheets with parchment paper.
Lightly flour your work surface, place the dough on your surface then sprinkle a little more flour on top of the dough. Roll out the dough to about ¼ to ⅓ of an inch.
Use a pig-shaped cookie cutter (around 5 to 6 inches) to cut out the cookies. Place them on the baking sheets, leaving a little space in between. Bring together the scraps, re-roll the dough and cut out more cookies.
Beat the second egg in a small bowl. Lightly brush the tops of the cookies with the egg wash to give them a nice shine.
Bake for 12 to 15 minutes, or until the edges are set and the tops look slightly firm. They should still feel soft in the center—they’ll continue to set as they cool.
Cool: Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.