diff --git a/demo/nextjs/app/page.tsx b/demo/nextjs/app/page.tsx index 65130f4e2c..1e3cf5da39 100644 --- a/demo/nextjs/app/page.tsx +++ b/demo/nextjs/app/page.tsx @@ -18,10 +18,15 @@ export default async function Home() {

Official demo to showcase better-auth. features and capabilities.
- * All auth related features implemented on this demo are natively supported by better-auth. (btw) + * All auth related features implemented on this demo are natively supported by better-auth. ( + no custom backend code is written + )

+
+ +
{ diff --git a/demo/nextjs/next.config.ts b/demo/nextjs/next.config.ts index a9d12d53b9..288058bd48 100644 --- a/demo/nextjs/next.config.ts +++ b/demo/nextjs/next.config.ts @@ -1,10 +1,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - webpack: (config) => { - config.externals.push("@libsql/client"); - return config; - }, + serverExternalPackages: ["@libsql/client"], /* config options here */ }; diff --git a/package.json b/package.json index 0187571584..ca74eb13d7 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "packageManager": "pnpm@9.1.1", "scripts": { "build": "turbo --filter \"./packages/*\" build", - "dev": "dotenv turbo --filter \"./packages/*\" dev", - "dev:example": "dotenv turbo --filter next-js-example dev", + "dev": "turbo --filter \"./packages/*\" dev", + "dev:example": "turbo --filter next-js-example dev", "clean": "turbo --filter \"./packages/*\" clean && rm -rf node_modules", "format": "biome format . --write", "lint": "biome check .",