The White House on Thursday said it would veto a bipartisan immigration deal being proposed in the Senate, saying it does not meet President Trump Donald John TrumpObama calls on Senate not to fill Ginsburg's vacancy until after election Planned Parenthood: 'The fate of our rights' depends on Ginsburg replacement Progressive group to spend M in ad campaign on Supreme Court vacancy MORE’s hard-line demands.

“If the president were presented with an enrolled bill that includes the amendment, his advisors would recommend that he veto it,” White House press secretary Sarah Huckabee Sanders said in a statement.

The bipartisan plan would shield 1.8 million young immigrants living illegally in the U.S., known as “Dreamers,” from deportation and provide $25 billion for border security measures — both elements of the White House’s immigration plan.

But the proposal does not go as far as the White House would like in curbing family-based immigration.

ADVERTISEMENT

It would block Dreamers from sponsoring parents who knowingly brought them illegally into the country, but would not make broader changes to the family visa system demanded by Trump and his GOP allies in the House.

The White House said it “would undermine the safety and security of American families and impede economic growth for American workers” and result in “a flood of new illegal immigration in the coming months.”

That’s because the bipartisan Senate plan would temporarily suspend deportations of people who have not been convicted of serious crimes.

The White House’s statement appears designed to halt the growing momentum behind the proposal.

Trump has indicated he will not budge from his demands for steep cuts to legal immigration and the elimination of the diversity visa lottery in exchange for Dreamer protections.

The president on Thursday endorsed a bill introduced by Senate Judiciary Committee Chairman Charles Grassley Charles (Chuck) Ernest GrassleySenate Republicans face tough decision on replacing Ginsburg What Senate Republicans have said about election-year Supreme Court vacancies Biden says Ginsburg successor should be picked by candidate who wins on Nov. 3 MORE (R-Iowa) that closely mirrors the White House framework.

Senators from both parties have accused Trump of going back on his words last month when he said sign whatever piece of immigration legislation Congress sends to his desk.

"I'm not going to say, 'Oh gee I want this or I want that,' " Trump told lawmakers at the time. "I will be signing it."