VOOZH about

URL: https://thenewstack.io/next-js-deployment-spec-simplifies-frontend-hosting/

⇱ Next.js Deployment Spec Simplifies Frontend Hosting - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-05-06 12:00:07
Next.js Deployment Spec Simplifies Frontend Hosting
Backend development / Frontend Development / JavaScript

Next.js Deployment Spec Simplifies Frontend Hosting

Netlify took Next.js to task recently, claiming that it‘s difficult to deploy the framework. An adapter specification would change that.
May 6th, 2025 12:00pm by Loraine Lawson
👁 Featued image for: Next.js Deployment Spec Simplifies Frontend Hosting
Image via Pexels

On the heels of a callout from web hosting platform Netlify, Next.js will soon offer a new specification designed to simplify how infrastructure providers deploy the open source framework. The new specification will bring the framework, which was created and is maintained by Vercel, into alignment with other frameworks, such as Astro, Gatsby, Remix, SvelteKit  and Qwik.

The specification will reduce the work that third-party hosting providers, which includes Vercel competitors Netlify and CloudFlare, must do to fully support the framework. Such specifications are used by hosting services to build an adapter, plugin or presets for frameworks.

Hosting providers need these adapters to provision and configure the infrastructure when hosting applications built with frameworks. Without such an adapter, they must hand-code a tool to ensure the framework functions as it should.

This is done outside the purview of developers, so it’s possible Next.js developers have not brushed up against the problem — depending on their provider. For instance, Netlify has engineered a solution behind the scenes.

Frameworks and Infrastructure

Next.js was created by Guillermo Rauch, the CEO and founder of Vercel. That has led some developers to wonder if Vercel and Next.js are too tightly coupled.

It’s a fair question, but it should also be noted that Netlify previously employed Solid’s Ryan Carniato and SvelteKit’s Rich Harris is a Vercel employee. Recently, TanStack announced that Netlify would be its official deployment provider.

A March post by Netlify hesitantly but decisively called out Next.js for its lack of a specification, although it noted Vercel has been working behind the scenes with Netlify to rectify the situation. The issue seems to have been the pace of progress.

Written by Philippe Serhal, Netlify’s staff software engineer for frameworks, and Elad Rosenheim, principal product manager, the post listed a number of issues the hosting service has with Next.js, noting that the framework does not have an adapter, preset or plugin to work with other infrastructure providers.

“… Next.js builds use a private, largely undocumented format that is subject to change,” they wrote. “…providers like Netlify, Cloudflare, AWS Amplify Hosting, SST, Google Firebase App Hosting, and Microsoft Azure Static Web Apps must instead read the Vercel-tailored, partly-undocumented build output from disk, translate it to their own format, and write this back to disk.”

They specifically cited a recent Next.js security incident, including a list of difficulties in supporting the framework and work it had to do behind the scenes to make Next.js function in the way it does with Vercel (while noting that it does not have to do this with other frameworks).

“Many of these — as well as, arguably, the incident response — are related to the closed nature of how Next.js is maintained,” Netlify stated. “But there is now an honest effort by everyone to tackle this problem.”

A major benefit of open source software is supposed to be the ability to port it to different providers, the post added.

The specification has been in the works for six months behind the scenes, according to Lee Robinson, vice president of product at Vercel, who also teaches the Next.js framework.

“This started back in October, and during Next.js Ship, we announced a bunch of improvements for Next.js developers who are self-hosting,” Robinson told The New Stack. “Since then, we’ve been continuing, working behind the scenes with the infrastructure companies on adding new functionality for this.”

Robinson said “the honest reality” is it’s beneficial to develop an open source tool alongside the infrastructure, because it allows the infrastructure team to understand how things actually are built and deployed in practice.

“The way we like to think about it is a high cohesion, but loose coupling. So high cohesion between the framework and infrastructure, but then ideally, the loose coupling so you can take that framework and put it wherever you want,” he said. “Even though we’ve had the loose coupling, I think things like the documentation gave this perception that actually it was very intrinsically linked together.”

He added that the lack of adapters for Cloudflare and Netlify also made it “a confusing story for folks who wanted to deploy to competitors of Vercel, essentially.”

The Next.js team agreed that the specification was needed and began working with Netlify and Cloudflare on a deployment adapter API, he added. Behind the scenes, Vercel built an adapter to work with the framework as well.

“It’s not a novel idea. If you look at other frameworks in the ecosystem — SvelteKit and others — they’ve landed in a similar spot, where there is a provider-agnostic way of taking the framework and making it work great on any infrastructure platform,” Lee said.

He agreed that the lack of an adapter meant infrastructure companies needed to do “a lot of that work themselves and reverse-engineer some of the pieces,” adding that the Next.js team wanted to make that process easier.

The specification also addresses something developers want: The ability to choose where they host their applications.

“What developers want to know when picking an open source tool is that they are not locked into that tool,” Robinson said. “They’re free to use whatever platform they would like. They’re free to self-host or use a service if they would like, and that they have confidence in the stewardship, maintenance of the project itself.”

The adapter is currently in the “request for comment” period, and the team made that publicly available after the Netlify post. The plan is to have something for infrastructure platforms in the next month, he said.

“We’re still working with Netlify and Cloudflare and others who want to build their own adapters, or essentially transform what they’ve already built and turn it into this new format,” he said. “Eventually, what will happen behind the scenes is that when you deploy Next.js to Netlify, they’ll just automatically install this adapter for you, which is basically what happens today. It’s just [that] adhering to this spec is much easier for them to maintain.”

In addition to addressing this, Robinson said they are cleaning up the documentation, removing language that specifically alluded to Vercel, to make it clear that it will work on other platforms.

Editor’s Note: Corrected May 7 at 12:30 a.m. to state that Rich Harris works at Vercel, not, as previously stated, Netlify. Also, Ryan Carniato left Netlify in September, 2024, to work at Sentry.

TRENDING STORIES
Loraine Lawson is a veteran technology reporter who has covered technology issues from data integration to security for 25 years. Before joining The New Stack, she served as the editor of the banking technology site Bank Automation News. She has...
Read more from Loraine Lawson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.