This information comes from Nintendo president Tatsumi Kimishima, as stated during the company’s financial results briefing Q&A…
“Our initial plan for the Nintendo Switch hardware shipments for the last fiscal year was 2 million units, but we saw the high anticipation from consumers prior to launch and began additional production, allowing us to ultimately ship 2.74 million units. We are planning to ship 10 million units this fiscal year, and this figure takes into account the fantastic response we have received from consumers. Planning to ship 10 million units means that we actually plan to produce more than that including units in our warehouse and in-transit product. We are not currently producing this full amount all at once. We expect that the number of consumers who want to buy the hardware will increase as we release titles such as ARMS, Splatoon 2 and Super Mario Odyssey, so our current production model takes that into account.”