HEMPSTEAD, N.Y. – If Donald Trump were president, he would impose a tax on Oreos produced in Mexico, his campaign confirmed following Monday night's presidential debate.

During the debate, Trump talked about preventing U.S. companies from moving jobs overseas. When pressed on how he would accomplish this, Trump said, "Well, the first thing you do is don't let the jobs leave. The companies are leaving. I could name, I mean, there are thousands of them. They're leaving, and they're leaving in bigger numbers than ever."

He then continued, "And what you do is you say, fine, you want to go to Mexico or some other country, good luck. We wish you a lot of luck. But if you think you're going to make your air conditioners or your cars or your cookies or whatever you make and bring them into our country without a tax, you're wrong."

Though he didn't mention Oreos by name Monday night, in the past, Trump has blasted Nabisco for moving some of its production from Chicago to Mexico, vowing to boycott Oreos.

So after hearing Trump's comments during the debate, I asked spokesman Jason Miller, who was telling reporters about Trump's intention to keep jobs in the U.S., whether Trump would tax Oreos as president.

"You talk about not shipping jobs overseas," I said. "During the debate, Trump mentioned the idea that if a company moves overseas and then they try to sell products that they'll be taxed. So Nabisco for instance, does that mean that you'd tax, say, Oreo cookies that are produced in Mexico?"

Miller responded, "So, first off, when Mr. Trump is president, we think these companies are really going to think twice about packing up and taking American jobs overseas, or cross over into countries that are adjacent to us and try to sell those same goods back into the U.S. So, yes, those companies, if you did pack up and move out and take jobs, yeah, there would be a penalty."