Cut the sourdough bread into small pieces, roughly ¼-1/2″ cubes. Preheat the oven to 300F and bake the bread until dried out and very lightly toasted. I baked my bread for 20 minutes.
Melt the vegan butter in a large pot over medium-high heat.
Add the diced onions, diced carrots, sliced celery, and sliced leeks to the pot and cook until soft and starting to brown.
Add the garlic, thyme, rosemary, and rubbed sage, and continue to cook for another 2 minutes. Season with salt and black pepper, to taste.
Pour in one cup of the vegetable broth, no need to stir it at this point. Cover with a lid and reduce heat to medium heat for 10 minutes. Add ¼ cup more vegetable broth at a time until desired texture is reached- each time, cover with a lid and allow to sit for a few more minutes for the broth to absorb. You may or may not need more- this depends on the type of bread and your own preference.
Toss in dried cranberries if using and adjust salt and black pepper.
Once desired texture is reached, add the stuffing to a casserole dish and broil for a few minutes to get a crunchy topping.
If you add too much liquid and the stuffing is soggier than desired, simply bake at 400F for 5 to 10 minutes or until dried out enough.
Garnish with fresh rosemary and serve!