Roast the squash, potatoes and onions with olive oil, thyme, salt and pepper at 180°C fan for 35–40 minutes until soft and golden.
Make the pastry by rubbing the butter into the flour, thyme and salt.
Add cold water until a dough forms, then chill for 20 minutes.
Mix the cheddar, Dijon mustard and milk together.
Roll out the pastry and line a greased 12-hole muffin tin.
Fill each pie with roasted vegetables and the cheesy mixture, then top with pastry lids.
Bake at 180°C fan for 30–35 minutes until golden.
Cool completely before freezing.
Reheat until piping hot.
