Mike Bloomberg plans to continue funding his massive campaign through the general election in November — even if he loses the Democratic nomination, according to a report Friday.

The former three-term New York City mayor will also pass on his operations — comprised of 800 staff members in more than 30 states and more than $100 million in ad spending — to the eventual nominee to help beat President Trump, campaign officials told NBC News.

“Mike Bloomberg is either going to be the nominee or the most important person supporting the Democratic nominee for president,” Kevin Sheekey, Bloomberg’s campaign manager, told the network. “He is dedicated to getting Trump out of the White House.”

Hawkfish, the Bloomberg-founded digital company that’s behind the ad blitz, will be retained through Election Day, officials said.

If Bloomberg loses the nomination, his staffers won’t work directly for the nominee so as to not exceed federal contribution limits. They’ll instead be paid by an independent funding arm supported by Bloomberg — an arrangement that’s similar to how super PACs run.

The self-funded candidate has outmatched other Democratic contenders’ staff and spending — despite his late entry into the race.

He recently relocated his campaign headquarters — with about 300 staffers — to the old New York Times building in Times Square and has other staff deployed in swing states like Florida, North Carolina and Pennsylvania.

Bloomberg, who is worth an estimated $50 billion, is spending roughly $25 million a week on TV ads since his campaign launched in late November.

The billionaire philanthropist spent more than $110 million in 2018 through his already-established super PAC, Independence USA PAC, to help get Democrats elected in the House.