Yahoo's chief executive Marissa Mayer has announced she is pregnant with identical twin girls, likely due in December.              

"Since this is a unique time in Yahoo's transformation, I plan to approach the pregnancy and delivery as I did with my son three years ago, taking limited time away and working throughout," Mayer wrote in a blog post. 

Mayer's pregnancy comes at a critical time for Yahoo, which is preparing to spin off its stake in Chinese e-commerce giant Alibaba Group Holding and considers the future of its holding in Yahoo Japan. 

Mayer, 40, was pregnant when she joined Yahoo as CEO in July 2012 and she gave birth to a baby boy in September that year. 

She worked from home after the birth and came back to the office just two weeks later. 

Her approach to motherhood stoked a debate about whether her example would help or hurt the cause of women in the workplace. 

Yahoo said in its corporate blog today that it was"extremely happy" for Mayer and supported her plans and approach. 

Mayer, who has been married to start-up investor Zachary Bogue since 2009, was an executive at Google before taking the helm at Yahoo in 2012. 

Since then she has sought to boost morale at the Internet company, including increasing the amount of paid leave offered to new parents, bringing Yahoo closer to the policies of some of its Silicon Valley peers. 

The changes in 2013 allow new mothers to take up to 16 weeks of paid leave and fathers eight. Previously, mothers could take eight weeks, while no paid leave was offered to fathers. 

However, Mayer's ban on employees working from home in the same year sparked nationwide outrage, with critics saying the policy would make life difficult for working parents. 

Media reports that Mayer paid to have a nursery built next to her office further fanned the controversy. 

The Yahoo CEO has a net worth of about $380m, according to Forbes. Her pay package jumped 69% to $42m last year, mostly due to gains in Yahoo's stock price despite concerns about the health of its business.