01 - Preheat the oven to 425°F (220°C). Line a baking sheet with parchment paper or foil.
02 - In a large bowl, toss the squash cubes with olive oil, salt, pepper, and thyme or rosemary if using.
03 - Spread the squash in a single layer on the prepared baking sheet.
04 - Roast for 25–30 minutes, flipping once halfway through, until the squash is golden and tender.
05 - If desired, drizzle with maple syrup or honey during the last 5 minutes of roasting for a sweet finish.
06 - Serve hot as a side dish.