Skip to content

Next.js standalone builds now supported on Appwrite Sites_

Deploy Next.js apps in standalone mode on Appwrite Sites with full Next.js 16 support, smaller builds, faster cold starts, and lighter deployments.

4 min read

You can now deploy Next.js apps built in standalone mode on Appwrite Sites, with full support for Next.js 16. In standalone mode, the build process creates a smaller package that includes only the files your app needs to run in production, leaving out development tools and unused parts of the framework.

Why standalone mode?

In our benchmarks, build size dropped by about six times on average, and cold start times were 2x faster. Deployments are lighter with faster build times, and sites start responding more quickly after going live.

This work began with a report by a community member, Warfin, about build issues in Next.js 16. Those discussions led to deeper improvements in how Appwrite handles builds, which made standalone support possible.

How to enable Next.js standalone mode

To enable standalone mode, open your next.config.js file and add output: 'standalone' to your existing configuration:

JavaScript
/** @type {import('next').NextConfig} */
module.exports = {
output: 'standalone',
};

Then build your project as usual. Appwrite Sites now recognizes that output automatically, so you can deploy it directly with no further changes.

This update also lays the groundwork for broader improvements as we better understand how we can apply the same benefits to all Next.js builds, and eventually to all SSR builds.

We're excited to see what you ship next!

Read next

Introducing Appwrite Explorer

Eldad Fux

Appwrite Explorer brings the Appwrite REST API into the Console. Browse every endpoint, build requests with guided forms, send live calls against your project, and inspect responses without leaving the browser.

8 min read

Introducing Appwrite Terminal

Eldad Fux

Appwrite Terminal runs the Appwrite CLI directly inside the Console. Your session and project context are preconfigured, with keyboard-first controls and multi-tab workflows, so you can inspect resources without leaving the project.

7 min read

Ready to build?_